Adam constructor
Adam(})
Implementation
Adam(
super.parameters, {
this.lr = 1e-3,
this.beta1 = 0.9,
this.beta2 = 0.999,
this.eps = 1e-8,
this.weightDecay = 0.0,
}) : _m = List<Tensor?>.filled(parameters.length, null),
_v = List<Tensor?>.filled(parameters.length, null);