class
AirInterpreter
PythonUnified API for TinyML interpreters.
AirInterpreter(model_path: Path)Unified API for TinyML interpreters.
method
set_input
PythonFeed one input tensor by name/ID or index.
set_input(tensor: AirTensor | np.ndarray, *, key: str | int | None = None) -> Noneabstractmethod
Feed one input tensor by name/ID or index.
method
invoke
PythonRun inference.
invoke() -> Noneabstractmethod
Run inference.
method
get_output
PythonFetch one output by name/ID or index.
get_output(*, key: str | int | None = None, wrap: bool = False) -> np.ndarray | AirTensorabstractmethod
Fetch one output by name/ID or index.