aot_transform
Classes
AotTransform
Functions
apply
abstractmethod
apply(model: ModelT, subgraph: SubGraphT, operations: list[Type[AotOperator]]) -> tuple[litert.ModelT, litert.SubGraphT, list[Type[AotOperator]]]
Perform the transform on the given (model, subgraph, ops) triple. Return the potentially new (model, subgraph, ops).
Parameters:
-
model
ModelT
) –The model to transform.
-
subgraph
SubGraphT
) –The subgraph to transform.
-
operations
list[Type[AotOperator]]
) –The list of operations to transform.
Returns: