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

Function func

imperative/python/test/unit/functional/test_functional.py:187–188  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

185@pytest.mark.parametrize("is_symbolic", [None, True, False])
186def test_matmul_empty_tensor(shape_a, shape_b, is_symbolic):
187 def func(a, b):
188 return F.matmul(a, b)
189
190 if is_symbolic is not None:
191 func = jit.trace(symbolic=is_symbolic)(func)

Callers 3

test_matmul_empty_tensorFunction · 0.70
test_roi_align_emptyFunction · 0.70
test_conv_transpose2dFunction · 0.70

Calls 3

TensorClass · 0.90
_broadcastMethod · 0.80
concatMethod · 0.80

Tested by

no test coverage detected