ReduceSum

Description

Computes the sum of elements in the specified dimension of the input tensor.

Input

One input:

x: tensor of type float16 or float.

Output

One output:

y: tensor of the identical data type and format as input x.

Property

axes: The data type is an int list. Meaning: calculation axis. Value range: [-r, r-1], where r is the number of dimensions of the input data x.

keepdims: int. Defaults to 1, meaning that the reduced dimensions are retained.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18