ModuleConfig class

Inheritance

Constructors

ModuleConfig.create({bool dynamic = false, bool? shapeMutable, bool rearrange = false, ForwardType backendType = ForwardType.MNN_FORWARD_CPU, BackendConfig? backendConfig})
factory
ModuleConfig.fromPointer(Pointer<mnn_module_config_t> ptr, {bool attach = true, int? externalSize})

Properties

attach bool
finalinherited
backendConfig BackendConfig?
getter/setter pair
backendType ForwardType
getter/setter pair
dynamic bool
getter/setter pair
finalizer NativeFinalizer
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setterinherited
props List<Object?>
no setteroverride
ptr Pointer<Void>
Gets the pointer to the underlying C++ object
no setterinherited
rearrange bool
getter/setter pair
ref → mnn_module_config_t
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeMutable bool
getter/setter pair

Methods

dispose() → void
inherited
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
toString() String
A string representation of this object.
inherited

Operators

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