pub struct Model { /* private fields */ }
Expand description

Symbol table for the encoder/decoder. Used to store the probabilities as a vector of counts (number of occurrences). Uniform would be every symbol has a count of 0.

Implementations

For loading a saved model. Use the Builder for more options.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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.