mindspore.Tensor.squeeze

Tensor.squeeze(axis=None)[source]

For details, please refer to mindspore.ops.squeeze().