Model class

The Model class represents a neural network model, composed of a list of layers. This class is fundamental for defining the structure of a neural network, where each layer contains neurons that are connected to form the network. Make sure to connect all layers with edges before building the model.

Constructors

Model({required List<Layer> layers})

Properties

hashCode int
The hash code for this object.
no setterinherited
layers List<Layer>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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