1 write to _layerIdx
Microsoft.ML.GenAI.Core (1)
Module\Attention.cs (1)
102
this.
_layerIdx
= layerIdx;
2 references to _layerIdx
Microsoft.ML.GenAI.Core (2)
Module\Attention.cs (2)
170
kvSeqLen += pastKeyValue.GetUsableLength(kvSeqLen, this.
_layerIdx
);
176
(keyStates, valueStates) = pastKeyValue.UpdateKVCache(keyStates, valueStates, this.
_layerIdx
);