pub enum ModelType {
Codepoints,
GraphemeClusters,
}
Expand description
The type of LSTM model
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ModelType
impl<'de> Deserialize<'de> for ModelType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ModelType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ModelType, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more