Shape
Description
Obtains the shape of the input tensor.
Input
x: input tensor of type float, float16, int8, int16, uint16, uint8, int32, int64, uint32, uint64, bool, or double.
Output
y: output tensor with shape being the dimension of the input x. The data type is int32 or int64.
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Supported ONNX Operators