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

Method __init__

fx/native_interpreter/use_interpreter.py:83–85  ·  view source on GitHub ↗
(self, interpreter)

Source from the content-addressed store, hash-verified

81 # ===== Stage 3: Create a wrapper GraphModule around the interpreter =====
82 class WrapperModule(torch.nn.Module):
83 def __init__(self, interpreter):
84 super().__init__()
85 self.interpreter = interpreter
86
87 wrapper = WrapperModule(interpreter)
88

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected