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

Class CortexMRunPasses

backends/cortex_m/test/tester.py:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52class CortexMRunPasses(RunPasses):
53 def __init__(self, target_config: Optional[CortexMTargetConfig] = None):
54 target_config = target_config or CortexMTargetConfig(cpu=CortexM.M55)
55 # The base RunPasses constructs the pass manager as `cls(ep, pass_list)`.
56 # Pre-bind the target_config so it flows through that 2-arg call.
57 super().__init__(
58 partial(CortexMPassManager, target_config=target_config), # type: ignore[arg-type]
59 CortexMPassManager.pass_list, # type: ignore[arg-type]
60 )
61
62
63class CortexMSerialize(Serialize):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68