Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
393
def
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_optimize_for_inference
Function · 0.70
test_reset_batchsize
Function · 0.70
test_modify_opr_name
Function · 0.70
Calls
1
exp
Method · 0.45
Tested by
no test coverage detected