Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ mkstemp
Function
mkstemp
imperative/python/test/integration/test_trace_dump.py:19–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
18
@contextlib.contextmanager
19
def
mkstemp():
20
fd, path = tempfile.mkstemp()
21
try
:
22
os.close(fd)
23
yield
path
24
finally:
25
os.remove(path)
26
27
28
def
minibatch_generator(batch_size):
Callers
3
test_xornet_trace_dump
Function · 0.70
test_goptions_log_exp
Function · 0.50
test_optimize_for_inference
Function · 0.50
Calls
2
close
Method · 0.45
remove
Method · 0.45
Tested by
no test coverage detected