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

Method transform

exir/program/_program.py:499–501  ·  view source on GitHub ↗
(self, *passes: PassType)

Source from the content-addressed store, hash-verified

497 self.after_to_edge_passes = after_to_edge_passes
498
499 def transform(self, *passes: PassType) -> "ExirExportedProgram":
500 self.exported_program = _transform(self.exported_program, *passes)
501 return self
502
503 def __call__(self, *args: Any) -> Any:
504 return self.exported_program.module()(*args)

Callers

nothing calls this directly

Calls 1

_transformFunction · 0.85

Tested by

no test coverage detected