ReduceSumSquare

功能

沿所提供的轴计算输入张量元素的平方和。如果keepdim等于1,得到的张量的秩与输入的相同。如果keepdim等于0,那么得到的张量就会被精简维数。上述行为与numpy类似,只是numpy默认keepdim为False而不是True。

边界

【输入】

data:tensor(uint32), tensor(uint64), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double), tensor(bfloat16)

【输出】

reduced:tensor(uint32), tensor(uint64), tensor(int32), tensor(int64), tensor(float16), tensor(float), tensor(double), tensor(bfloat16)

【属性】

axes: list of ints

keepdims: int,默认值:1

支持的ONNX版本

Opset v1/v8/v9/v10/v11/v12/v13