mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Add getOutputDims to 2d layers
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace CUDANet::Layers {
|
||||
|
||||
class MaxPooling2d : public SequentialLayer {
|
||||
class MaxPooling2d : public SequentialLayer, public TwoDLayer {
|
||||
public:
|
||||
MaxPooling2d(
|
||||
dim2d inputSize,
|
||||
@@ -33,6 +33,8 @@ class MaxPooling2d : public SequentialLayer {
|
||||
*/
|
||||
int getInputSize();
|
||||
|
||||
dim2d getOutputDims();
|
||||
|
||||
private:
|
||||
dim2d inputSize;
|
||||
int nChannels;
|
||||
|
||||
Reference in New Issue
Block a user