tf.keras.backend.squeeze(
x,
axis
)
Defined in tensorflow/python/keras/backend.py.
Removes a 1-dimension from the tensor at index "axis".
Arguments:
x: A tensor or variable.axis: Axis to drop.
Returns:
A tensor with the same data as x but reduced dimensions.