Searched refs:python_code (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/mesa3d/meson_to_hermetic/ |
H A D | generate_python_build.py | 20 python_code = '' 21 python_code += ( 25 python_code += '\n' + output_indent + f'### Begin conversion from: {file_name}' 26 python_code += ( 76 python_code += f"\n{subdir_output_indent}set_relative_dir('{next_dir}')" 77 python_code += '\n' + process_meson(next_file, subdir_output_indent) 78 python_code += f"\n{subdir_output_indent}set_relative_dir('{current_dir}')" 81 python_code += f'\n{output_indent + line_prefix + line + line_suffix}' 82 python_code += ( 87 python_code += '\n' + output_indent + f'### End conversion from: {file_name}' [all …]
|
/aosp_15_r20/external/pytorch/torch/fx/ |
H A D | graph_module.py | 271 verbose_python_code = graph.python_code( 764 python_code = self._graph.python_code(root_module="self") 765 self._code = python_code.src 766 self._lineno_map = python_code._lineno_map 770 cls.forward = _forward_from_src(self._code, python_code.globals, co_fields) 788 return python_code 797 python_code = self.recompile() 798 import_block = _format_import_block(python_code.globals, importer) 807 python_code = self.recompile() 808 import_block = _format_import_block(python_code.globals, exporter.importer) [all …]
|
H A D | _lazy_graph_module.py | 141 python_code = self._real_recompile() 147 import_block = _format_import_block(python_code.globals, exporter.importer) 161 python_code = self._real_recompile() 163 import_block = _format_import_block(python_code.globals, sys_importer)
|
H A D | graph.py | 1398 def python_code( member in Graph
|
/aosp_15_r20/external/pytorch/test/expect/ |
H A D | TestFXAPIBackwardCompatibility.test_class_member_back_compat-fx_backcompat_class_members.expect | 3 … 'placeholder', 'print_tabular', 'process_inputs', 'process_outputs', 'python_code', 'set_codegen']
|
H A D | TestFXAPIBackwardCompatibility.test_function_back_compat-fx_backcompat_function_signatures.expect | 26 torch.fx.graph.Graph.python_code(self, root_module: str, verbose: bool = False, include_stride: boo…
|
/aosp_15_r20/external/python/mobly/tests/mobly/ |
D | utils_test.py | 103 python_code = ['import time', 'time.sleep(%s)' % wait_secs] 104 return ['python', '-c', 'exec("%s")' % r'\r\n'.join(python_code)]
|
/aosp_15_r20/external/pytorch/torch/_dynamo/ |
H A D | comptime.py | 195 self.__tx.output.graph.python_code("self", verbose=verbose).src, file=file
|
/aosp_15_r20/external/executorch/backends/cadence/aot/ |
H A D | fuse_ops.py | 429 graph_module._code = graph_module._graph.python_code(root_module="self").src
|