RuntimeManager class

Inheritance

Constructors

RuntimeManager.create([ScheduleConfig? config])
factory
RuntimeManager.fromPointer(mnn_runtime_manager_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
infoFLOPs double
no setter
infoMemory double
no setter
isEmpty bool
no setterinherited
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
isBackendSupport(ForwardType type) bool
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
setCache(String path) → void
setExternalFile(String path) → void
setExternalPath(String path, ExternalPathType type) → void
setHint(HintMode mode, int value) → void
setMode(SessionMode mode) → void
toString() String
A string representation of this object.
inherited
updateCache() → void

Operators

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

Static Methods

getDeviceInfo(String deviceKey, ForwardType type) → (bool, String)