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

Method exported_program

exir/program/_program.py:1597–1602  ·  view source on GitHub ↗

Returns the ExportedProgram specified by 'method_name'.

(self, method_name: str = "forward")

Source from the content-addressed store, hash-verified

1595 return set(self._config_methods.keys()) if self._config_methods else set()
1596
1597 def exported_program(self, method_name: str = "forward") -> ExportedProgram:
1598 """
1599 Returns the ExportedProgram specified by 'method_name'.
1600 """
1601
1602 return self._edge_programs[method_name]
1603
1604 @et_logger("transform")
1605 def transform(

Calls

no outgoing calls