getEffectiveWindow

fun getEffectiveWindow(layerIdx: Int): Int(source)

Returns the effective attention window size for the given layer. Sliding layers use slidingWindow, global layers use contextLength.