mindspore.ops.BroadcastTo
- class mindspore.ops.BroadcastTo(shape)[source]
prim = ops.BroadcastTo(shape) out = prim(input)
is equivalent to
ops.broadcast_to(input, shape)
Refer to
mindspore.ops.broadcast_to()
for more details.
prim = ops.BroadcastTo(shape)
out = prim(input)
is equivalent to
ops.broadcast_to(input, shape)
Refer to mindspore.ops.broadcast_to()
for more details.