SetPadding
Function
Sets the padding information.
Prototype
1 | void SetPadding(int64_t padFront, int64_t padBack, int64_t padUp, int64_t padDown, int64_t padLeft, int64_t padRight) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
padFront |
Input |
Size of the forward padding in the input depth dimension during the forward convolution process. |
padBack |
Input |
Size of the backward padding in the input depth dimension during the forward convolution process. |
padUp |
Input |
Size of the upward padding in the input height dimension during the forward convolution process. |
padDown |
Input |
Size of the downward padding in the input height dimension during the forward convolution process. |
padLeft |
Input |
Size of the leftward padding in the input width dimension during the forward convolution process. |
padRight |
Input |
Size of the rightward padding in the input width dimension during the forward convolution process. |
Returns
None
Restrictions
None
Example
1 2 3 | auto ascendcPlatform = platform_ascendc::PlatformAscendCManager::GetInstance(); ConvBackpropApi::Conv3DBpInputTiling conv3DBpDxTiling(*ascendcPlatform); conv3DBpDxTiling.SetPadding(padFront, padBack, padUp, padDown, padLeft, padRight); |
Parent topic: Conv3DBackpropInput Tiling API