/aosp_15_r20/external/executorch/backends/cadence/aot/ |
H A D | export_example.py | 89 exec_prog: ExecutorchProgramManager = export_to_executorch_gen_etrecord( 94 exec_prog.exported_program().graph_module.graph.print_tabular() 101 exec_prog, 106 save_pte_program(exec_prog, file_name, working_dir) 116 executorch_prog=exec_prog,
|
H A D | compiler.py | 259 exec_prog: ExecutorchProgramManager = cadence_prog_manager.to_executorch() 261 _gen_etrecord(edge_prog_manager, exec_prog, Path(output_dir)) 265 return exec_prog
|
/aosp_15_r20/external/executorch/test/models/ |
H A D | generate_linear_out_bundled_program.py | 40 exec_prog = to_edge(export(model, trace_inputs)).to_executorch( 47 pretty_print(exec_prog.executorch_program) 50 exec_prog.executorch_program.version = 0 63 bundled_program = BundledProgram(exec_prog, method_test_suites)
|
/aosp_15_r20/external/executorch/exir/backend/test/ |
H A D | test_backends.py | 153 exec_prog = ( 162 graph_module = exec_prog.dump_graph_module() 183 program = exec_prog.program 203 buff = exec_prog.buffer 252 exec_prog = ( 261 buff = exec_prog.buffer 307 exec_prog = ( 317 buff = exec_prog.buffer 378 exec_prog = ( 387 graph_module = exec_prog.dump_graph_module() [all …]
|
H A D | test_backends_lifted.py | 177 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch( 182 graph_module = exec_prog.exported_program().graph_module 203 program = exec_prog._emitter_output.program 223 buff = exec_prog.buffer 272 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch( 277 buff = exec_prog.buffer 321 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch( 327 buff = exec_prog.buffer 386 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch( 391 graph_module = exec_prog.exported_program().graph_module [all …]
|
/aosp_15_r20/external/executorch/examples/portable/scripts/ |
H A D | export_and_delegate.py | 95 exec_prog = composited_edge.to_executorch() 96 buffer = exec_prog.buffer 146 exec_prog = edge.to_executorch() 147 buffer = exec_prog.buffer
|
/aosp_15_r20/external/executorch/examples/apple/coreml/scripts/ |
H A D | export.py | 109 exec_prog = to_edge( 113 return exec_prog 116 def save_executorch_program(exec_prog, model_name, compute_unit): argument 117 buffer = exec_prog.buffer
|
/aosp_15_r20/external/executorch/extension/pybindings/test/ |
H A D | make_test.py | 118 exec_prog = to_edge(exported_methods).to_executorch(config=et_config) 121 exec_prog.dump_executorch_program(verbose=True) 122 return (exec_prog, inputs) 275 exec_prog = m.to_executorch() 277 executorch_module = load_fn(exec_prog.buffer)
|
/aosp_15_r20/external/executorch/examples/xnnpack/ |
H A D | aot_compiler.py | 109 exec_prog = edge.to_executorch( variable 114 generate_etrecord(args.etrecord, edge_copy, exec_prog) 119 save_pte_program(exec_prog, model_name, args.output_dir)
|
/aosp_15_r20/external/executorch/backends/qualcomm/tests/ |
H A D | utils.py | 337 exec_prog = delegated_program.to_executorch( 352 len(exec_prog.program.execution_plan[0].delegates), 357 exec_prog.program.execution_plan[0].delegates[i].id, 363 generate_etrecord(etrecord_path, edge_copy, exec_prog) 373 exec_prog,
|
H A D | test_qnn_delegate.py | 1541 exec_prog = edge_prog.to_executorch() 1542 self.verify_output(module, sample_input, exec_prog) 1565 exec_prog = edge_prog.to_executorch() 1566 self.verify_output(module.get_reference_module(), sample_input, exec_prog) 1751 exec_prog = to_edge( 1754 self.verify_output(module, sample_input, exec_prog) 1798 exec_prog = exec_prog = to_edge( 1801 self.verify_output(module, sample_input, exec_prog) 1835 exec_prog = to_edge( 1838 self.verify_output(module, sample_input, exec_prog) [all …]
|
/aosp_15_r20/external/executorch/test/end2end/ |
H A D | exported_module.py | 195 exec_prog = to_edge( 218 exported_program = exec_prog.exported_program() 233 executorch_program=exec_prog,
|
/aosp_15_r20/external/executorch/exir/emit/test/ |
H A D | test_emit.py | 454 exec_prog = to_edge(export(h, x)).to_executorch( 457 program = exec_prog.executorch_program 1364 exec_prog = to_edge( 1367 exec_prog.buffer 1406 exec_prog = to_edge( 1409 exec_prog.buffer 1448 exec_prog = to_edge( 1453 exec_prog._emitter_output.program 1454 self.assertIsNotNone(exec_prog.delegate_map) 1455 self.assertIsNotNone(exec_prog.delegate_map.get("forward")) [all …]
|
/aosp_15_r20/external/executorch/docs/source/ |
H A D | examples-end-to-end-to-lower-model-to-delegate.md | 113 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch() 118 f.write(exec_prog.buffer) 174 exec_prog = edge.to_executorch() 179 f.write(exec_prog.buffer)
|
H A D | tutorial-xnnpack-delegate-lowering.md | 68 exec_prog = edge.to_executorch() 71 exec_prog.write_to_file(file) 123 exec_prog = edge.to_executorch() 126 exec_prog.write_to_file(file)
|
/aosp_15_r20/external/executorch/examples/mediatek/aot_utils/oss_utils/ |
H A D | utils.py | 61 exec_prog = edge_prog.to_executorch(config=exir.ExecutorchBackendConfig()) 64 file.write(exec_prog.buffer)
|
/aosp_15_r20/external/executorch/exir/tests/ |
H A D | test_delegate.py | 71 exec_prog = to_edge( 75 graph_module = exec_prog.exported_program().graph_module 76 program = exec_prog._emitter_output.program
|
H A D | test_verification.py | 138 exec_prog = to_edge(export(model2, (inputs,))).to_executorch() 140 exported_prog = exec_prog.exported_program()
|
/aosp_15_r20/external/executorch/exir/backend/test/demos/ |
H A D | test_delegate_aten_mode.py | 59 exec_prog = to_edge(export(composite_model, model_inputs)).to_executorch() 61 buff = exec_prog.buffer
|
/aosp_15_r20/external/executorch/exir/backend/test/demos/rpc/ |
H A D | test_rpc.py | 127 exec_prog = to_edge(export(composite_model, simple_net_input)).to_executorch() 129 executorch_module = _load_for_executorch_from_buffer(exec_prog.buffer)
|
/aosp_15_r20/external/executorch/extension/export_util/ |
H A D | utils.py | 126 exec_prog = edge_m.to_executorch(backend_config) 127 return exec_prog
|
/aosp_15_r20/external/executorch/examples/qualcomm/scripts/ |
H A D | mobilebert_fine_tune.py | 294 exec_prog = to_edge( 299 file.write(exec_prog.buffer)
|
/aosp_15_r20/external/executorch/examples/arm/ |
H A D | aot_arm_compiler.py | 505 exec_prog = edge.to_executorch( variable 527 save_pte_program(exec_prog, output_name)
|
/aosp_15_r20/external/executorch/backends/xnnpack/ |
H A D | README.md | 86 exec_prog = edge.to_executorch() 89 exec_prog.write_to_file(file)
|
/aosp_15_r20/external/executorch/examples/qualcomm/ |
H A D | utils.py | 307 exec_prog = to_edge(exported_program).to_executorch(config=executorch_config) 309 file.write(exec_prog.buffer)
|