Versioned name: Squeeze-1
Category: Shape manipulation
Short description: Squeeze removes specified dimensions (second input) equal to 1 of the first input tensor. If the second input is omitted then all dimensions equal to 1 are removed. If the specified dimension is not equal to one then error is raised.
Attributes: Squeeze operation doesn't have attributes.
Inputs:
(optional)
: 0D or 1D tensor with dimensions indices to squeeze. Values could be negative. Indices could be integer or float values.Example
Example 1:
Example 2: squeeze 1D tensor with 1 element to a 0D tensor (constant)