mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Allocate activation on heap
This commit is contained in:
@@ -38,7 +38,7 @@ class MaxPooling2D : public SequentialLayer {
|
||||
|
||||
float* d_output;
|
||||
|
||||
Activation activation;
|
||||
Activation* activation;
|
||||
};
|
||||
|
||||
} // namespace CUDANet::Layers
|
||||
|
||||
Reference in New Issue
Block a user