26 #ifndef NVNEURAL_ICONVOLUTIONLAYER_H
27 #define NVNEURAL_ICONVOLUTIONLAYER_H
Fundamental NvNeural data types are declared here.
NeuralResult
NeuralResult is a generic success/failure result type similar to COM HRESULT.
Definition: CoreTypes.h:274
IConvolutionLayer is an optional interface that marks a layer as a convolution layer.
Definition: IConvolutionLayer.h:37
virtual NeuralResult setKernelSize(std::size_t kernelSizeW, std::size_t kernelSizeH) noexcept=0
Sets the kernel size of the convolution operation.
virtual bool zeroPadding() const noexcept=0
Returns true if zero padding is enabled.
virtual NeuralResult setStride(std::size_t strideW, std::size_t strideH) noexcept=0
Sets the stride of the convolution operation.
virtual NeuralResult setFeatureCount(std::size_t numFeatures) noexcept=0
Sets the feature count of the convolution operation.
static const IRefObject::TypeId typeID
Interface TypeId for InterfaceOf purposes.
Definition: IConvolutionLayer.h:40
virtual NeuralResult applyBias(bool enableBias) noexcept=0
Turns bias on or off.
virtual NeuralResult setZeroPadding(bool enablePadding) noexcept=0
Turns zero padding on or off.
Base class for all objects, similar to COM's IUnknown.
Definition: CoreTypes.h:342
std::uint64_t TypeId
Every interface must define a unique TypeId. This should be randomized.
Definition: CoreTypes.h:348