SetDilation
Function
Set the dilation information, that is, the dilation size of the convolution kernel in the depth, height, and width directions.
Prototype
1 | void SetDilation(int64_t dilationD, int64_t dilationH, int64_t dilationW) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
dilationD |
Input |
Dilation size of the convolution kernel weight in the depth direction. |
dilationH |
Input |
Dilation size of the convolution kernel weight in the height direction. |
dilationW |
Input |
Dilation size of the convolution kernel weight in the width direction. |
Returns
None
Restrictions
None
Example
1 2 3 | auto ascendcPlatform = platform_ascendc::PlatformAscendCManager::GetInstance(); ConvBackpropApi::Conv3DBpInputTiling conv3DBpDxTiling(*ascendcPlatform); conv3DBpDxTiling.SetDilation(dilationD, dilationH, dilationW); |
Parent topic: Conv3DBackpropInput Tiling API