GAN class
Simple GAN scaffolding using ANN heads for generator and discriminator.
Constructors
Properties
- discriminator → ANN
-
final
- generator → ANN
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latentDim → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fit(
List< List< realX, {int epochs = 1, int batchSize = 16}) → voiddouble> > - Very small-step adversarial training stub: perform paired updates on discriminator and generator by creating labels and fitting the ANN heads.
-
generate(
int n) → List< List< double> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited