flashinfer.gdn_paged.GDNPagedDecodeSlots¶
- class flashinfer.gdn_paged.GDNPagedDecodeSlots(initial_state_indices: Tensor, output_state_indices: Tensor)¶
Per-sequence pool rows of a paged decode batch, both
[B]int32. Seegdn_paged_decode_slots().- __init__()¶
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
initial_state_indicesPage read as the state before the decoded token.
output_state_indicesLast page, written with the state after the decoded token.