Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ write
Method
write
torch/_inductor/codecache.py:1855–1856 ·
view source on GitHub ↗
(cls, source_code: str, extra: str = "")
Source
from the content-addressed store, hash-verified
1853
1854
@classmethod
1855
def
write(cls, source_code: str, extra: str =
""
) -> Tuple[str, str]:
1856
return
write(source_code,
"py"
, extra=extra)
1857
1858
@classmethod
1859
def
load(
Callers
15
write_main
Method · 0.45
write_frozen
Method · 0.45
pp_format
Method · 0.45
main
Function · 0.45
write_to_zip
Function · 0.45
report_compile_source_on_error
Function · 0.45
_maybe_write
Function · 0.45
write_pch_signature_to_file
Function · 0.45
make_tsv
Function · 0.45
make_sprite
Function · 0.45
write_pbtxt
Function · 0.45
make_mat
Function · 0.45
Calls
1
write
Function · 0.70
Tested by
4
_output_csv
Function · 0.36
_save
Method · 0.36
sync
Method · 0.36
test_get_rank
Method · 0.36