ReduceL2
Description
Computes the L2 norm of the input tensor element along the provided axis.
If keepdim is 1, the rank of the obtained tensor is the same as that of the input tensor. If keepdim is set to 0, the number of dimensions of the obtained tensor is reduced. The above behavior is similar to NumPy, with the exception that NumPy defaults keepdim to False instead of True.
Input
One input:
data: tensor of type float16 or float.
Output
One output:
reduced: tensor of type float16 or float.
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.
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Operators Specifications of the AI Framework