GlobalAveragePool
Description
Applies average pooling to the values in each channel for the input tensor.
Input
x: input tensor of type float16 or float. The format is ND, NCHW, or NCDHW. The shape dimension of the input tensor ranges from 4 to 5.
Output
y: output tensor with an identical data type and format to those of x. The shape dimension of y is the same as that of the first two dimensions of x, and the remaining spatial dimensions are squeezed into 1. The first two dimensions are the same as those of x, and the last dimension is 1.
Constraints
None
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Supported ONNX Operators