pub struct ContextBlockSplitter {
pub alphabet_size_: usize,
pub num_contexts_: usize,
pub max_block_types_: usize,
pub min_block_size_: usize,
pub split_threshold_: floatX,
pub num_blocks_: usize,
pub target_block_size_: usize,
pub block_size_: usize,
pub curr_histogram_ix_: usize,
pub last_histogram_ix_: [usize; 2],
pub last_entropy_: [floatX; 26],
pub merge_last_count_: usize,
}
Fields§
§alphabet_size_: usize
§num_contexts_: usize
§max_block_types_: usize
§min_block_size_: usize
§split_threshold_: floatX
§num_blocks_: usize
§target_block_size_: usize
§block_size_: usize
§curr_histogram_ix_: usize
§last_histogram_ix_: [usize; 2]
§last_entropy_: [floatX; 26]
§merge_last_count_: usize
Auto Trait Implementations§
impl Freeze for ContextBlockSplitter
impl RefUnwindSafe for ContextBlockSplitter
impl Send for ContextBlockSplitter
impl Sync for ContextBlockSplitter
impl Unpin for ContextBlockSplitter
impl UnwindSafe for ContextBlockSplitter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more