mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Add support for non square matrices
This commit is contained in:
@@ -10,7 +10,7 @@ namespace CUDANet::Layers {
|
||||
|
||||
class BatchNorm2D : public WeightedLayer {
|
||||
public:
|
||||
BatchNorm2D(int inputSize, int inputChannels, float epsilon, ActivationType activationType);
|
||||
BatchNorm2D(dim2d inputSize, int inputChannels, float epsilon, ActivationType activationType);
|
||||
|
||||
~BatchNorm2D();
|
||||
|
||||
@@ -66,7 +66,7 @@ class BatchNorm2D : public WeightedLayer {
|
||||
|
||||
private:
|
||||
|
||||
int inputSize;
|
||||
dim2d inputSize;
|
||||
int inputChannels;
|
||||
|
||||
int gridSize;
|
||||
|
||||
Reference in New Issue
Block a user