2 references to MakeCausalMask
Microsoft.ML.GenAI.Core (2)
Utility\AttentionMaskConverter.cs (2)
54
causal4dMask =
MakeCausalMask
(inputShape, dType, attentionMask2d.device, pastKeyValuesLength, this._slidingWindow);
91
causal4DMask =
MakeCausalMask
(inputShape, dType, device, pastKeyValueLength, this._slidingWindow);