SetOutputPadding
Function
Sets the output padding size when constructing the Conv3DTranspose operator, which is used to derive the output shape. When constructing the Conv3DBackpropInput operator, this API has no actual meaning. Do not use it.
Prototype
1 | bool SetOutputPadding(int64_t outputPadD, int64_t outputPadH, int64_t outputPadW) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
outputPadD |
Input |
Padding value in the depth direction of the output. |
outputPadH |
Input |
Padding value in the height direction of the output. |
outputPadW |
Input |
Padding value in the width direction of the output. |
Returns
true indicates that the setting is successful, and false indicates that the setting fails.
Restrictions
None
Example
1 2 3 | auto ascendcPlatform = platform_ascendc::PlatformAscendCManager::GetInstance(); ConvBackpropApi::Conv3DBpInputTiling conv3DBpDxTiling(*ascendcPlatform); conv3DBpDxTiling.SetOutputPadding(outputPadD, outputPadH, outputPadW); |
Parent topic: Conv3DBackpropInput Tiling API