pub fn controlled_batch_count(token_counts: &[usize]) -> usizeExpand description
Returns the number of batches that embed_passages_controlled would produce
for the given token_counts slice without running inference.
pub fn controlled_batch_count(token_counts: &[usize]) -> usizeReturns the number of batches that embed_passages_controlled would produce
for the given token_counts slice without running inference.