mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-07 18:24:26 +00:00
Allocate activation on heap
This commit is contained in:
@@ -120,8 +120,7 @@ class Conv2d : public WeightedLayer {
|
||||
float* d_weights;
|
||||
float* d_biases;
|
||||
|
||||
// Kernels
|
||||
Activation activation;
|
||||
Activation* activation;
|
||||
|
||||
/**
|
||||
* @brief Initialize weights of the convolutional layer with zeros
|
||||
|
||||
Reference in New Issue
Block a user