Skip to main content

NUM_EMBEDDINGS

Constant NUM_EMBEDDINGS 

Source
pub const NUM_EMBEDDINGS: usize = _; // 66usize
Expand description

Table rows: 2 * BINS + 2. The +2 is one row per clamped extreme plus the padding index that shifts the range to be non-negative — which is why the checkpoint’s table is 66 rows and not 65.