Class Index
These are all the API classes. See all API packages.
A
Accelerator
Hardware accelerators supported by LiteRT.
AiPackModelProvider
A ModelProvider that's backed by on-demand Google Play AI Pack.
B
BuiltinNpuAcceleratorProvider
An implementation of NpuAcceleratorProvider , which provides the NPU libraries without dynamic downloading.
C
CompiledModel
Class that represents a compiled LiteRT model.
CompiledModel.Options
Options to specify hardware acceleration for compiling a model.
E
Environment
Environment to hold configuration options for LiteRT runtime.
Environment.Option
Options configurable in LiteRT environment.
J
JniHandle
A base class for all Kotlin types that wrap a JNI handle.
L
LiteRtException
Exception for various LiteRT API errors.
M
Model
Model represents a LiteRT model file.
ModelProvider
A model provider that provides a model file and relevant information.
ModelProvider.Type
Model files could be either an asset or a file.
ModelSelector
ModelSelector allows to dynamically select a ModelProvider from a given set of providers.
N
NpuAcceleratorProvider
An interface to provide the NPU libraries.
NpuCompatibilityChecker
An interface to checks if the device is compatible with NPU.
S
Status
Status codes for LiteRtException.
T
TensorBuffer
TensorBuffer represents the raw memory where tensor data is stored.
TensorBufferRequirements
Requirements for allocating a TensorBuffer.
TensorBufferType
The type of the tensor buffer.