#[repr(i64)]pub enum NLModelType {
Classifier = 0,
Sequence = 1,
}
Expand description
The different types of a natural language model.
Variants§
Classifier = 0
A classifier model type that tags text at the phrase, sentence, paragraph, or higher level.
Sequence = 1
A sequence model type that tags text at the token level.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NLModelType
impl RefUnwindSafe for NLModelType
impl Send for NLModelType
impl Sync for NLModelType
impl Unpin for NLModelType
impl UnwindSafe for NLModelType
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