Executor class
- Inheritance
-
- Object
- NativeObject
- Executor
Constructors
- Executor.create(ForwardType type, BackendConfig config, int numThreads)
-
factory
- Executor.fromPointer(mnn_executor_t ptr, {bool attach = true, int? externalSize})
Properties
- attach → bool
-
finalinherited
- finalizer → NativeFinalizer
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setterinherited
- lazyEval ↔ bool
-
getter/setter pair
- lazyMode ↔ LazyMode
-
getter/setter pair
-
props
→ List<
Object?> -
no setteroverride
-
ptr
→ Pointer<
Void> -
Gets the pointer to the underlying C++ object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
inherited
-
gc(
GCFlag flag) → void -
getCurrentRuntimeStatus(
RuntimeStatus status) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reattach(
Pointer< Void> ptr) → void -
inherited
-
release(
) → void -
Releases the underlying C++ object
Subclasses must implement specific release logic
override
-
setGlobalExecutorConfig(
ForwardType type, BackendConfig config, int numThreads) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getRuntimeInfo(
) → RuntimeInfo - Get runtime info