IsolateInterpreter class

IsolateInterpreter allows for the execution of TensorFlow models within an isolate.

Properties

address int
final
debugName String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state IsolateInterpreterState
no setter
stateChanges Stream<IsolateInterpreterState>
no setter

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Object input, Object output) Future<void>
Run TensorFlow model for single input and output.
runForMultipleInputs(List<Object> inputs, Map<int, Object> outputs) Future<void>
Run TensorFlow model for multiple inputs and outputs.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({required int address, String debugName = 'TfLiteInterpreterIsolate'}) Future<IsolateInterpreter>