MaxPool#
MaxPool operation performs the computation following the below formulas. Variable names follow the standard Conventions.
Operation Attributes#
  | 
Description  | 
Value Type  | 
  | 
  | 
|---|---|---|---|---|
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
  | 
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
  | 
s64  | 
A s64 list containing non-negative values  | 
Required  | 
|
Size of pooling window  | 
s64  | 
A s64 list containing positive values  | 
Required  | 
|
Denotes the distance in width and height between elements.  | 
s64  | 
A s64 list
containing
positive
values, a
list of
  | 
Optional  | 
|
Controls how to do rounding  | 
string  | 
  | 
Optional  | 
|
Controls how the paddings are calculated  | 
string  | 
  | 
Optional  | 
|
Controls
how to
interpret
the shape
of   | 
string  | 
  | 
Optional  | 
Execution Arguments#
The inputs and outputs must be provided according to the below index order when constructing an operation.
Inputs#
Index  | 
Argument Name  | 
Required or Optional  | 
|---|---|---|
0  | 
  | 
Required  | 
Outputs#
Index  | 
Argument Name  | 
Required or Optional  | 
|---|---|---|
0  | 
  | 
Required  | 
Supported Data Types#
MaxPool operation supports the following data type combinations.
Src  | 
Dst  | 
|---|---|
f32  | 
f32  | 
bf16  | 
bf16  | 
f16  | 
f16  |