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

Method __init__

exir/program/_program.py:403–424  ·  view source on GitHub ↗
(
        self,
        root,
        graph,
        graph_signature,
        call_spec,
        state_dict,
        range_constraints,
        module_call_graph,
        example_inputs,
        verifier,
    )

Source from the content-addressed store, hash-verified

401
402class HackedUpExportedProgramDONOTUSE(ExportedProgram):
403 def __init__(
404 self,
405 root,
406 graph,
407 graph_signature,
408 call_spec,
409 state_dict,
410 range_constraints,
411 module_call_graph,
412 example_inputs,
413 verifier,
414 ):
415 super().__init__(
416 root=root,
417 graph=graph,
418 graph_signature=graph_signature,
419 state_dict=state_dict,
420 range_constraints=range_constraints,
421 module_call_graph=module_call_graph,
422 example_inputs=example_inputs,
423 verifier=verifier,
424 )
425
426 def __call__(self, *args: Any, **kwargs: Any) -> Any:
427 import torch._export.error as error

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected