ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

org.tensorflow.lite.task.core

Interfaces

TaskJniUtils.EmptyHandleProvider Syntax sugar to get nativeHandle from empty param list. 
TaskJniUtils.FdAndOptionsHandleProvider<T> Syntax sugar to get nativeHandle from file descriptor and options. 
TaskJniUtils.MultipleBuffersHandleProvider Syntax sugar to get nativeHandle from an array of ByteBuffers. 

Classes

BaseOptions Options to configure Task APIs in general. 
BaseOptions.Builder Builder for BaseOptions
BaseTaskApi Base class for Task API, provides shared logic to load/unload native libs to its C++ counterpart. 
ComputeSettings Options to configure how to accelerate the model inference using dedicated delegates. 
ComputeSettings.Builder Builder for ComputeSettings
TaskJniUtils JNI utils for Task API. 

Enums

ComputeSettings.Delegate TFLite accelerator delegate options.