Layer(int nIn, int nOut, {this.useGelu = true}) : weights = Tensor.xavier([nIn, nOut]), bias = Tensor.zeros([1, nOut]);