MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / broadcast

Function broadcast

imperative/python/test/unit/core/test_indexing_op.py:202–204  ·  view source on GitHub ↗
(input, tshape)

Source from the content-addressed store, hash-verified

200
201
202def broadcast(input, tshape):
203 op = builtin.Broadcast()
204 return invoke_op(op, (input, tshape), canonize_reshape)
205
206
207def subtensor(input, tuple_val):

Callers 1

test_broadcastFunction · 0.70

Calls 2

invoke_opFunction · 0.85
BroadcastMethod · 0.80

Tested by

no test coverage detected