build_override_set

Function build_override_set 

Source
pub fn build_override_set(row_diff: &[bool], trainable: &[u32]) -> Vec<u32>
Expand description

Union of (rows that differ from the served base) and (trainable ids), sorted ascending and deduped. This is the final set of vocab rows the overlay replaces. row_diff[i] = row i of the adapter base differs from served.