Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
202
def
broadcast(input, tshape):
203
op = builtin.Broadcast()
204
return
invoke_op(op, (input, tshape), canonize_reshape)
205
206
207
def
subtensor(input, tuple_val):
Callers
1
test_broadcast
Function · 0.70
Calls
2
invoke_op
Function · 0.85
Broadcast
Method · 0.80
Tested by
no test coverage detected