Size

Description

Computes the number of elements in the input tensor.

Input

data: input tensor of type float16 or float.

Output

size: scalar of type int64, indicating the number of elements in the input tensor.

Constraints

None.

ONNX Opset Support

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