Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ test
Function
test
imperative/python/test/unit/functional/test_tensor.py:421–423 ·
view source on GitHub ↗
(func, inp, comp, target_shp)
Source
from the content-addressed store, hash-verified
419
]
420
421
def
test(func, inp, comp, target_shp):
422
out = func(inp, target_shp)
423
comp(out, target_shp)
424
425
if
is_trace:
426
for
symbolic in [False, True]:
Callers
7
test_reshape_on_empty_tensor
Function · 0.85
test_broadcast_on_empty_tensor
Function · 0.85
run<shape_dep_const_shape>
Function · 0.85
is_complete_helper
Class · 0.85
TEST
Function · 0.85
TEST
Function · 0.85
mask_conv_benchmark
Function · 0.85
Calls
2
comp
Function · 0.85
func
Function · 0.70
Tested by
no test coverage detected