OrtSessionOptions class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendCoreMLProvider(
CoreMLFlags flags) → bool - Appends CoreML provider.
-
appendCPUProvider(
CPUFlags flags) → bool - Appends cpu provider.
-
appendNnapiProvider(
NnapiFlags flags) → bool - Appends Nnapi provider.
-
appendQnnProvider(
) → bool - Appends QNN provider.
-
appendXnnpackProvider(
) → bool - Appends Xnnpack provider.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
setInterOpNumThreads(
int numThreads) → void - Sets the number of inter-op threads used by ONNX Runtime.
-
setIntraOpNumThreads(
int numThreads) → void - Sets the number of intra-op threads used by ONNX Runtime.
-
setSessionExecutionMode(
OrtSessionExecutionMode mode) → void - Sets the execution mode for the session. Sequential mode runs operations one at a time. Parallel mode allows operations to run in parallel when possible.
-
setSessionGraphOptimizationLevel(
GraphOptimizationLevel level) → void - Sets the level of session graph optimization.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited