Squeeze
Description
Removes dimensions of size 1 from the shape of the input tensor.
Input
data: tensor of type float16, float, double, uint8, uint16, uint32, uint64, int8, int16, int32, int64 or bool.
Attribute
axes: int list, specifying the dimensions to be removed. The data type can be int32 or int64.
Output
squeezed: tensor of the identical data type as data.
Constraints
None.
ONNX Opset Support
Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18
Parent topic: Supported ONNX Operators