tf.compat.v1.squeeze

Removes dimensions of size 1 from the shape of a tensor. (deprecat