Home
last modified time | relevance | path

Searched refs:get_source_lines_and_file (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/pytorch/torch/
H A D_sources.py12 def get_source_lines_and_file( function
121 sourcelines, file_lineno, filename = get_source_lines_and_file(
H A D_jit_internal.py47 from torch._sources import fake_range, get_source_lines_and_file, parse_def
982 sourcelines, file_lineno, filename = get_source_lines_and_file(obj)
1117 method_line_no = get_source_lines_and_file(method)[1]
1118 mod_class_fileno = get_source_lines_and_file(mod_class)[1]
1119 mod_end_fileno = mod_class_fileno + len(get_source_lines_and_file(mod_class)[0])
H A Dserialization.py17 from torch._sources import get_source_lines_and_file
701 source_lines, _, source_file = get_source_lines_and_file(obj)
1172 current_source = ''.join(get_source_lines_and_file(container_type)[0])
/aosp_15_r20/external/pytorch/torch/jit/
H A Dannotations.py59 from torch._sources import get_source_lines_and_file
129 source = dedent("".join(get_source_lines_and_file(fn)[0]))
184 source = dedent("".join(get_source_lines_and_file(fn)[0]))
H A Dfrontend.py68 get_source_lines_and_file,
277 sourcelines, file_lineno, filename = get_source_lines_and_file(