mindspore.Tensor.squeeze
- Tensor.squeeze(*axis) Tensor[source]
For details, please refer to
mindspore.ops.squeeze().Warning
Non-backward-compatible change after version 2.9.0: the signature will change from
squeeze(*axis)tosqueeze(dim=None), existing calls will be affected.