Remove single-dimensional entries from the shape of an array.
LAX-backend implementation of
Original docstring below.
squeezed – The input array, but with all or a subset of the dimensions of length 1 removed. This is always a itself or a view into a. Note that if all axes are squeezed, the result is a 0d array and not a scalar.
- Return type