Unsqueeze
Description
Inserts a dimension of size 1 into the specified axis of the input tensor.
Input
data: tensor of type bool, float16, float, double, uint8, uint16, uint32, int8, int16, int32, int64 or uint64.
Attribute
axes: int list, specifying the axis on which 1 is to be inserted.
Output
expanded: tensor of the identical data type as data.
Constraints
axes: Elements in axes must be unique.
ONNX Opset Support
Opset v8/v9/10/v11/v12
Parent topic: Supported ONNX Operators