Removes a 1-dimension from the tensor at index "axis".
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.backend.squeeze, tf.compat.v2.keras.backend.squeeze
tf.compat.v1.keras.backend.squeeze
tf.compat.v2.keras.backend.squeeze
tf.keras.backend.squeeze( x, axis )
x
axis
A tensor with the same data as x but reduced dimensions.