Implement InvalidShapeException

This commit is contained in:
2025-11-21 18:54:45 +01:00
parent 6685aa6629
commit c83e1f0c45
6 changed files with 77 additions and 91 deletions

View File

@@ -8,7 +8,7 @@ class MaxPool2d : public Layer {
public:
MaxPool2d(
CUDANet::Shape input_shape,
CUDANet::Shape pooling_shape,
CUDANet::Shape pool_shape,
CUDANet::Shape stride_shape,
CUDANet::Shape padding_shape,
CUDANet::Backend* backend
@@ -38,7 +38,7 @@ class MaxPool2d : public Layer {
private:
CUDANet::Shape in_shape;
CUDANet::Shape pooling_shape;
CUDANet::Shape pool_shape;
CUDANet::Shape stride_shape;
CUDANet::Shape padding_shape;