Enum cudnnAddMode
cudnnAddMode is an enumerated type used by cudnnAddTensor() to specify how a bias tensor is added to an input/output tensor.
Namespace: ManagedCuda.CudaDNN
Assembly: CudaDNN.dll
Syntax
public enum cudnnAddMode
Fields
Name | Description |
---|---|
FeatureMap | In this mode, the bias tensor is defined as one image with multiple feature maps. This image will be added to every image of the input/output tensor. |
FullTensor | In this mode, the bias tensor has the same dimensions as the input/output tensor. It will be added point-wise to the input/output tensor. |
Image | In this mode, the bias tensor is defined as one image with one feature map. This image will be added to every feature map of every image of the input/output tensor. |
SameC | In this mode, the bias tensor is defined as one image with multiple feature maps of dimension 1x1; it can be seen as an vector of feature maps. Each feature map of the bias tensor will be added to the corresponding feature map of all height-bywidth pixels of every image of the input/output tensor. |
SameCHW | In this mode, the bias tensor is defined as one image with multiple feature maps. This image will be added to every image of the input/output tensor. |
SameHW | In this mode, the bias tensor is defined as one image with one feature map. This image will be added to every feature map of every image of the input/output tensor. |