MCPcopy 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

is_complete_helperClass · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
mask_conv_benchmarkFunction · 0.85

Calls 2

compFunction · 0.85
funcFunction · 0.70

Tested by

no test coverage detected