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:
@@ -13,7 +13,7 @@ namespace CUDANet::Layers {
|
||||
* @brief 2D convolutional layer
|
||||
*
|
||||
*/
|
||||
class Conv2d : public WeightedLayer {
|
||||
class Conv2d : public WeightedLayer, public TwoDLayer {
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Conv 2d layer
|
||||
@@ -102,6 +102,8 @@ class Conv2d : public WeightedLayer {
|
||||
return paddingSize;
|
||||
}
|
||||
|
||||
dim2d getOutputDims();
|
||||
|
||||
private:
|
||||
// Inputs
|
||||
dim2d inputSize;
|
||||
|
||||
Reference in New Issue
Block a user