mindspore.Tensor.expand_dims

Tensor.expand_dims(axis)[source]

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