get_debug_state
enable_profiling_mode_for_profiling_tests()
GRAPH_EXECUTOR
save
tempfile.TemporaryDirectory
save_to_buffer
bytes
io.BytesIO
test_jit.py
ScriptFunction
@torch.jit.script
torch.jit.ScriptFunction
load
save(file)
@unittest.skipIf(GRAPH_EXECUTOR != ProfilingMode.PROFILING, ...)
test/jit/test_jit_ScriptFunction.py
@unittest.skipIf
pytorch/test/test_jit.py
test/test_jit_is_tracing_in_trace.py
torch.jit.script_method
torch.compile
torch.export
torch.jit.script
torch.jit.save
torch.jit.load
torch.jit.trace