Linear(this.inFeatures, this.outFeatures, {bool useBias = true}) { weight = Tensor.zeros([outFeatures, inFeatures]); if (useBias) { bias = Tensor.zeros([outFeatures]); } }