Method
__init__
(
self,
graph: torch.fx.Graph,
module_call_signature: Optional[ModuleCallSignature],
)
Source from the content-addressed store, hash-verified
| 51 | """ |
| 52 | |
| 53 | def __init__( |
| 54 | self, |
| 55 | graph: torch.fx.Graph, |
| 56 | module_call_signature: Optional[ModuleCallSignature], |
| 57 | ): |
| 58 | super().__init__() |
| 59 | self.graph = graph |
| 60 | self.graph.owning_module = self |
| 61 | self.module_call_signature = module_call_signature |
| 62 | |
| 63 | def forward(self, *args, **kwargs): |
| 64 | assert self.graph_module is not None, "Didn't finalize this InterpreterModule" |
Callers
nothing calls this directly
Tested by
no test coverage detected