Dropout(this.p, {this.rng}) { if (p < 0.0 || p >= 1.0) { throw ArgumentError('Dropout: p must be in [0, 1); got $p'); } }