Expr class

Inheritance

Constructors

Expr.empty()
factory
Expr.fromPointer(mnn_expr_Expr_t ptr, {bool attach = true, int? externalSize})
Expr.fromTensor(Tensor tensor, {bool own = false})
factory
Expr.fromVariableInfo(VariableInfo info, InputType type, {Pointer<Void>? ptr, MemoryType copy = MemoryType.COPY})
factory

Properties

attach bool
finalinherited
finalizer NativeFinalizer
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inputs List<VARP>
no setter
inputType InputType
no setter
isEmpty bool
no setterinherited
name String
getter/setter pair
outputSize int
no setter
props List<Object?>
no setteroverride
ptr Pointer<Void>
Gets the pointer to the underlying C++ object
no setterinherited
requireInfo bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputInfo(int index) VariableInfo
outputName(int index) String
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.
override

Operators

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

Static Methods

replace(Expr old, Expr newExpr) → void