Unsqueeze
Description
Inserts a one-dimensional item into the shape of the input tensor (data).
Input
One input:
x: tensor of type uint8, uint16, uint32, int8, int16, int32, int64, uint64, float16, float or float64.
Output
One output:
y: tensor. Has an identical data type to that of input x.
Property
axes: list of integers, specifying the dimension to be inserted. Must be in the range [-input_rank, input_rank - 1]. input_rank indicates the rank of the input tensor. The content of axes must be unique.
ONNX Opset Support
Opset v8/v9/10/v11/v12
Parent topic: Operators Specifications of the AI Framework