Squeeze will remove s dimension of size one, so you can transform an array of size 5x1x4 into 5x4 by squeezing the dimension 2.
In 0.4 the last dimension is automatically squeezed, and it seems that in 0.5 they all are.
Squeeze will remove s dimension of size one, so you can transform an array of size 5x1x4 into 5x4 by squeezing the dimension 2.
In 0.4 the last dimension is automatically squeezed, and it seems that in 0.5 they all are.