MCPcopy 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_mainMethod · 0.45
write_frozenMethod · 0.45
pp_formatMethod · 0.45
mainFunction · 0.45
write_to_zipFunction · 0.45
_maybe_writeFunction · 0.45
make_tsvFunction · 0.45
make_spriteFunction · 0.45
write_pbtxtFunction · 0.45
make_matFunction · 0.45

Calls 1

writeFunction · 0.70

Tested by 4

_output_csvFunction · 0.36
_saveMethod · 0.36
syncMethod · 0.36
test_get_rankMethod · 0.36