Shape

Description

Obtains the shape of the input tensor.

Input

One input:

x: tensor of type float, float16, int8, int16, uint16, uint8, int32, int64, uint32, uint64, bool or double.

Output

One output:

y: tensor of type int32 or int64. Has the identical shape as input x.

ONNX Opset Support

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