1 write to _hasBias
Microsoft.ML.GenAI.LLaMA (1)
Module\LlamaMLP.cs (1)
37this._hasBias = config.MlpBias;
3 references to _hasBias
Microsoft.ML.GenAI.LLaMA (3)
Module\LlamaMLP.cs (3)
40this.gate_proj = new QuantizedLinear(this._hiddenSize, this._intermediateSize, hasBias: this._hasBias, dtype: config.DType); 41this.up_proj = new QuantizedLinear(this._hiddenSize, this._intermediateSize, hasBias: this._hasBias, dtype: config.DType); 42this.down_proj = new QuantizedLinear(this._intermediateSize, this._hiddenSize, hasBias: this._hasBias, dtype: config.DType);