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,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.