InterpreterOptions class

TensorFlowLite interpreter options.

Constructors

InterpreterOptions()
Creates a new options instance.
factory

Properties

base Pointer<TfLiteInterpreterOptions>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threads int
Sets the number of CPU threads to use.
no getter
useMetalDelegateForIOS bool
Set true to use Metal Delegate for iOS
no getter
useNnApiForAndroid bool
TensorFlow version >= v2.2 Set true to use NnApi Delegate for Android
no getter

Methods

addDelegate(Delegate delegate) → void
Adds delegate to Interpreter Options
delete() → void
Destroys the options instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited