mindspore.Tensor.expand

View Source On Gitee
Tensor.expand(size)[source]

For details, please refer to mindspore.ops.broadcast_to(). The parameter size of the current interface is the same as the parameter shape of the reference interface.