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

Method get_executorch_program

export/export.py:538–548  ·  view source on GitHub ↗

Get the ExecutorchProgram from the ExecutorchProgramManager. Returns: The ExecutorchProgram Raises: RuntimeError: If the executorch program manager is not initialized

(self)

Source from the content-addressed store, hash-verified

536 )
537
538 def get_executorch_program(self) -> Program:
539 """
540 Get the ExecutorchProgram from the ExecutorchProgramManager.
541
542 Returns:
543 The ExecutorchProgram
544
545 Raises:
546 RuntimeError: If the executorch program manager is not initialized
547 """
548 return self.get_executorch_program_manager().executorch_program
549
550 def get_executorch_program_manager(self) -> ExecutorchProgramManager:
551 """

Calls 1