OrtIsolateSessionConfig class

Configuration passed to the background isolate to recreate the session.

Constructors

OrtIsolateSessionConfig({required String modelPath, String? libraryPath, int logLevel = 3, String logId = 'OrtIsolate', List<OrtProvider>? providers, Map<OrtProvider, Map<String, String>> providerOptions = const {}})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
libraryPath String?
final
logId String
final
logLevel int
final
modelPath String
final
providerOptions Map<OrtProvider, Map<String, String>>
final
providers List<OrtProvider>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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