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

Method __init__

exir/pass_base.py:319–322  ·  view source on GitHub ↗
(self, callback: "_ExportPassBase", gm: fx.GraphModule)

Source from the content-addressed store, hash-verified

317
318 class ExportInterpreter(fx.Interpreter):
319 def __init__(self, callback: "_ExportPassBase", gm: fx.GraphModule) -> None:
320 super().__init__(gm)
321 self.callback = callback
322 self.node: torch.fx.Node = next(iter(gm.graph.nodes))
323
324 def placeholder( # pyre-fixme[14]
325 self,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected