MCPcopy Create free account
hub / github.com/pytorch/pytorch / load

Method load

setup.py:740–742  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

738
739 def create_compile_commands(self):
740 def load(filename):
741 with open(filename) as f:
742 return json.load(f)
743
744 ninja_files = glob.glob("build/*compile_commands.json")
745 cmake_files = glob.glob("torch/lib/build/*/compile_commands.json")

Callers 8

gen_dataFunction · 0.45
__init__Method · 0.45
get_author_mapFunction · 0.45
get_file_mapFunction · 0.45
__init__Method · 0.45
read_from_diskMethod · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected