mindspore.Tensor.unsqueeze

View Source On Gitee
Tensor.unsqueeze(dim)[source]

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