Index
HeliosAOT Converters API
This module is responsible for converting different front-ends to back-end AIR format
Available Converters
- LiteRT: LiteRT (TFLite) flatbuffers
Copyright 2025 Ambiq. All Rights Reserved.
Classes
Functions
convert_backend_model
convert_backend_model(model_path: Path, subgraph: int = 0, type: str | None = None, verbose: int = 1) -> AirModel
Load an AIR Model from a file of given front-end.
Parameters:
-
model_path
Path
) –Path to model file
-
subgraph
int
, default:0
) –Specific subgraph to load. Defaults to 0.
-
type
str
, default:None
) –Front-end type. If not given will infer from path extension
-
verbose
int
, default:1
) –Verbosity level. Defaults to 1.
Returns:
-
AirModel
(AirModel
) –The converted AIR model.