GlobalAveragePool

Description

Applies average pooling to the values in the same 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 8.

Output

y: output tensor of type float16 or float. The shape dimension of y is the same as that of x. 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