Visible to Intel only — GUID: GUID-4E052C19-179E-47D9-B4B9-0535FBCBE49D
Visible to Intel only — GUID: GUID-4E052C19-179E-47D9-B4B9-0535FBCBE49D
AvgPoolBackward
General
AvgPoolBackward operation accepts tensor and tensor (optional), and calculates tensor.
Operation attributes
Attribute Name |
Description |
Value Type |
Supported Values |
Required or Optional |
---|---|---|---|---|
Controls the strides the window is moved. |
s64 |
A s64 list containing positive values |
Required |
|
Controls number of zeros to be add to the front/top/left of spatial dimensions, the attribute will be ignored when auto_pad attribute is specified to same_upper , same_lower or valid . |
s64 |
A s64 list containing non-negative values |
Required |
|
Controls number of zeros to be add to the back/bottom/right of spatial dimensions, the attribute will be ignored when auto_pad attribute is specified to same_upper , same_lower or valid . |
s64 |
A s64 list containing non-negative values |
Required |
|
Size of pooling window. |
s64 |
A s64 list containing positive values |
Required |
|
Controls whether the padded values are counted. |
bool |
True, False |
Required |
|
Controls how the paddings are calculated. |
string |
none (default), same_upper , same_lower , valid |
Optional |
|
Controls how to interpret the shape of src and dst . |
string |
NCX , NXC (default) |
Optional |
|
Denotes the shape of input of forward op. |
string |
NCX , NXC (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 |
diff_dst |
Required |
1 |
src_shape |
Optional |
Outputs
Index |
Argument Name |
Required or Optional |
---|---|---|
0 |
diff_src |
Required |
Supported data types
AvgPoolBackward operation supports the following data type combinations.
Diff_dst |
Diff_src |
Src_shape |
---|---|---|
f32 |
f32 |
s64 |
bf16 |
bf16 |
s64 |
f16 |
f16 |
s64 |