Visible to Intel only — GUID: GUID-11ED88B0-31A5-4202-8F15-79DCE67F9F09
Visible to Intel only — GUID: GUID-11ED88B0-31A5-4202-8F15-79DCE67F9F09
ConvTranspose
General
ConvTranspose operation performs the same computation as calculating the gradient with regard to of Convolution operation. To see the difference visually, you can go to visualization page.
Operation attributes
Attribute Name |
Description |
Value Type |
Supported Values |
Required or Optional |
---|---|---|---|---|
Controls the strides the weights tensor is moved when computing convolution. |
s64 |
A s64 list containing positive values |
Required |
|
Controls number of zeros to be add to the front/top/left of spatial dimensions. |
s64 |
A s64 list containing non-negative values |
Required |
|
Controls number of zeros to be add to the back/bottom/right of spatial dimensions. |
s64 |
A s64 list containing non-negative values |
Required |
|
Controls the amount of stretching the kernel before convolution ( visualization link ). |
s64 |
A s64 list containing positive values (>1 means dilated convolution) |
Required |
|
Controls how the padding is calculated. |
string |
none (default), same_upper , same_lower , valid |
Optional |
|
Adds additional amount of padding per each spatial axis in dst . |
s64 |
A s64 list containing non-negative values, all zeros by default |
Optional |
|
Controls how input channels and output channels are divided into. |
s64 |
A positive s64 value, 1 by default |
Optional |
|
Controls how to interpret the shape of src and dst . |
string |
NCX , NXC (default) |
Optional |
|
Controls how to interpret the shape of weights . |
string |
IOX , XOI (default) |
Optional |
Execution arguments
The inputs and outputs must be provided according to below index order when constructing an operation.
Inputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
src |
Required |
1 |
weights |
Required |
2 |
bias |
Optional |
![](/content/dam/docs/us/en/developer-guide-reference/2023-0/532B61B8-22BD-41A2-B06D-83B4A699D99F-low.png)
![](/content/dam/docs/us/en/developer-guide-reference/2023-0/96429EF7-0CB5-4D94-ADAF-939D006A74BF-low.png)
![](/content/dam/docs/us/en/developer-guide-reference/2023-0/95540F20-F456-4BF4-87BB-A62A88728005-low.png)
![](/content/dam/docs/us/en/developer-guide-reference/2023-0/2390A090-AF02-49CF-B1D5-FC4BB4D64232-low.png)
![](/content/dam/docs/us/en/developer-guide-reference/2023-0/6C8492D6-F17F-404C-8560-11B5699E8BE4-low.png)
Outputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
dst |
Required |
Supported data types
ConvTranspose operation supports the following data type combinations.
Src |
Weights |
Bias |
Dst |
---|---|---|---|
f32 |
f32 |
f32 |
f32 |
bf16 |
bf16 |
bf16 |
bf16 |
f16 |
f16 |
f16 |
f16 |