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

Function f

imperative/python/test/unit/utils/test_network.py:395–396  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

393def test_optimize_for_inference():
394 @trace(symbolic=True, capture_as_const=True)
395 def f(x):
396 return F.exp(x)
397
398 orig_model = io.BytesIO()
399 f(Tensor(5.0))

Callers 3

test_reset_batchsizeFunction · 0.70
test_modify_opr_nameFunction · 0.70

Calls 1

expMethod · 0.45

Tested by

no test coverage detected