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

Method get_etrecord

export/export.py:686–696  ·  view source on GitHub ↗

Get the etrecord from the ExecuTorchProgramManager. Returns: The etrecord in the ExecuTorchProgramManager Raises: RuntimeError: If the ExecuTorchManager is unavailable, or etrecord is not available in the ExecuTorchProgramManager

(self)

Source from the content-addressed store, hash-verified

684
685 # Use Any instead of ETRecord as return type to avoid static dependency on etrecord
686 def get_etrecord(self) -> Any:
687 """
688 Get the etrecord from the ExecuTorchProgramManager.
689
690 Returns:
691 The etrecord in the ExecuTorchProgramManager
692
693 Raises:
694 RuntimeError: If the ExecuTorchManager is unavailable, or etrecord is not available in the ExecuTorchProgramManager
695 """
696 return self.get_executorch_program_manager().get_etrecord()

Callers 15

build_executorch_binaryFunction · 0.45
aot_compiler.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1