mindspore.ops.BroadcastTo

class mindspore.ops.BroadcastTo(shape)[source]

Broadcasts input tensor to a given shape.

Refer to mindspore.ops.broadcast_to() for more detail.

Supported Platforms:

Ascend GPU CPU