Autoencoder constructor

Autoencoder(
  1. int hidden, {
  2. int epochs = 100,
  3. double lr = 0.01,
})

Implementation

Autoencoder(this.hidden, {this.epochs = 100, this.lr = 0.01}) {
  if (hidden <= 0) throw ArgumentError('hidden must be positive');
}