Layer class

Layer is a wrapper around the cv::dnn::Layer algorithm.

Inheritance

Constructors

Layer.fromPointer(LayerPtr ptr, [bool attach = true])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this object has been disposed.
no setterinherited
name String
GetName returns name for this layer.
no setter
props List<Object?>
no setterinherited
ptr Pointer<Layer>
getter/setter pairinherited
ref → Layer
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
GetType returns type for this layer.
no setter

Methods

dispose() → void
Releases the underlying native resources. Idempotent: calling it more than once is safe, but the object must not be used after dispose.
inherited
freeNative() → void
Frees the native resources owned by this object. Subclasses implement the concrete free logic here; callers must use dispose instead.
override
inputNameToIndex(String name) int
InputNameToIndex returns index of input blob in input array.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outputNameToIndex(String name) int
OutputNameToIndex returns index of output blob in output array.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

finalizer NativeFinalizer
final