rml_op_pool_2d_params
Parameters for the RML_OP_POOL_2D_AVG and RML_OP_POOL_2D_MAX operations.
RML_OP_POOL_2D*
operations apply pooling across the tensor according to kernel size, strides and dilations.
API
Graph Manipulation
Items
Name |
Type |
Description |
---|---|---|
input |
Operation that outputs tensor with input data. |
|
padding_type |
Padding calculation algorithm. |
|
kernel_size |
Spatial sizes of pooling kernel. |
|
strides |
Stride along each spatial axis. |
|
dilations |
Dilation value along each spatial axis of the kernel. |
|
start_paddings |
Number of pixels added to the beginning of the each spatial axis. |
|
end_paddings |
Number of pixels added to the end of the each spatial axis. |
|
ceil_mode |
Whether to use ceil ( |