MCPcopy Create free account
hub / github.com/pytorch/executorch / export

Method export

backends/test/harness/tester.py:215–222  ·  view source on GitHub ↗
(self, export_stage: Optional[Export] = None)

Source from the content-addressed store, hash-verified

213 )
214
215 def export(self, export_stage: Optional[Export] = None):
216 return self._run_stage(
217 export_stage
218 or self._get_default_stage(
219 StageType.EXPORT, dynamic_shapes=self.dynamic_shapes
220 ),
221 self.example_inputs,
222 )
223
224 def to_edge(self, to_edge_stage: Optional[ToEdge] = None):
225 if not to_edge_stage:

Callers 15

_test_ceilMethod · 0.95
_test_divMethod · 0.95
_testMethod · 0.95
_test_dqMethod · 0.95
_test_catMethod · 0.95
run_testerMethod · 0.95
_test_linearMethod · 0.95
_test_dqlinearMethod · 0.95
run_testerMethod · 0.95

Calls 2

_run_stageMethod · 0.95
_get_default_stageMethod · 0.95

Tested by

no test coverage detected