Allocate activation on heap

This commit is contained in:
2024-04-22 18:59:16 +02:00
parent 26cea9b12c
commit a32c737785
10 changed files with 17 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ class AvgPooling2D : public SequentialLayer {
float* d_output;
Activation activation;
Activation* activation;
};
} // namespace CUDANet::Layers