Formula

Matrix Slice Notation for a Sequence Window (K[in+1,i]\mathbf{K}_{[i-n+1,i]})

The notation K[in+1,i]\mathbf{K}_{[i-n+1,i]} is used to select a sub-matrix or a slice from a larger matrix K\mathbf{K}. This slice comprises a continuous block of elements, such as rows or columns, that begins at index in+1i-n+1 and concludes at index ii. The variable nn typically represents the size of a context or window.

Image 0

0

1

Updated 2025-10-08

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related