Skip to main content

Module ple

Module ple 

Expand description

Trained PLE n-gram row selection over caller-owned history and output. No table I/O, layer admission, residual arithmetic or full model execution. Kernel operations and the borrowed view allocate nothing. A custom projection trait implementation is external code and must be qualified separately.

Structs§

PleNgramConfig
Borrowed fixed-capacity numerical metadata; no model/serde dependency.
PleTokenHistory

Enums§

PleNgramError

Constants§

MAX_PLE_HEADS
MAX_PLE_NGRAM

Traits§

PleNgramConfigSource
The host owns this projection. Each public operation snapshots it once; no allocation guarantee is made for arbitrary downstream implementations.

Functions§

select_rows
Select rows without advancing history. A late row error can leave a written output prefix; remaining output and history retain their previous values.
sort_dedup_rows
Sort and deduplicate a selected row list in caller storage.