Skip to content

parser

Classes

Functions

air_model_from_litert

air_model_from_litert(model_path: Path, subgraph_index: int = 0, verbose: int = 1) -> AirModel

Create an AirModel from a LiteRT model.

Parameters:

  • model_path

    (Path) –

    Path to the LiteRT model file.

  • subgraph_index

    (int, default: 0 ) –

    Index of the subgraph to use. Defaults to 0.

  • verbose

    (int, default: 1 ) –

    Verbosity level. Defaults to 1.

Returns:

  • AirModel ( AirModel ) –

    The AirModel.