lite_rt_for_flutter library

Classes

ByteConversionUtils
CoreMlDelegate
CoreMl Delegate
CoreMlDelegateOptions
CoreMlDelegate Options
Delegate
GpuDelegate
Metal Delegate for iOS
GpuDelegateOptions
Metal Delegate options
GpuDelegateOptionsV2
GPU delegate options for Android
GpuDelegateV2
GPU delegate for Android
Interpreter
TensorFlowLite interpreter for running inference on a model.
InterpreterOptions
TensorFlowLite interpreter options.
IsolateInterpreter
IsolateInterpreter allows for the execution of TensorFlow models within an isolate.
QuantizationParams
Tensor
TensorFlowLite tensor.
TfLiteType
Types supported by tensor
XNNPackDelegate
XNNPack Delegate
XNNPackDelegateOptions
XNNPackDelegate Options

Enums

TensorType

Extensions

ListShape on List

Properties

libTfLiteBasePath String
The path to the library which contains that base LiteRT
no setter
libTfLiteCoreMLDelegatePath String
The path to the library which contains that CoreML Delegate for LiteRT
no setter
libTfLiteFlexDelegatePath String
The path to the library which contains that Flex Delegate for LiteRT
no setter
libTfLiteGPUDelegatePath String
The path to the library which contains that GPU Delegate for LiteRT
no setter

Functions

initLiteRT(String libraryPath, {String? gpuDelegatelibraryPath, String? coreMLDelegatelibraryPath, String? flexDelegatelibraryPath}) → void
Call this before using any methods of this package
initLiteRTFlutter() → void
Initializes the LiteRT runtime using the libs included in the lite_rt_for_flutter_libs* packages.

Exceptions / Errors

ByteConversionError