Struct tokenizers::processors::roberta::RobertaProcessing
source · pub struct RobertaProcessing { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for RobertaProcessing
impl Clone for RobertaProcessing
source§fn clone(&self) -> RobertaProcessing
fn clone(&self) -> RobertaProcessing
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RobertaProcessing
impl Debug for RobertaProcessing
source§impl Default for RobertaProcessing
impl Default for RobertaProcessing
source§impl<'de> Deserialize<'de> for RobertaProcessing
impl<'de> Deserialize<'de> for RobertaProcessing
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RobertaProcessing> for PostProcessorWrapper
impl From<RobertaProcessing> for PostProcessorWrapper
source§fn from(from: RobertaProcessing) -> Self
fn from(from: RobertaProcessing) -> Self
Converts to this type from the input type.
source§impl PartialEq for RobertaProcessing
impl PartialEq for RobertaProcessing
source§fn eq(&self, other: &RobertaProcessing) -> bool
fn eq(&self, other: &RobertaProcessing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PostProcessor for RobertaProcessing
impl PostProcessor for RobertaProcessing
source§fn added_tokens(&self, is_pair: bool) -> usize
fn added_tokens(&self, is_pair: bool) -> usize
Returns the number of tokens that will be added during the processing step
source§impl Serialize for RobertaProcessing
impl Serialize for RobertaProcessing
impl Eq for RobertaProcessing
impl StructuralPartialEq for RobertaProcessing
Auto Trait Implementations§
impl Freeze for RobertaProcessing
impl RefUnwindSafe for RobertaProcessing
impl Send for RobertaProcessing
impl Sync for RobertaProcessing
impl Unpin for RobertaProcessing
impl UnwindSafe for RobertaProcessing
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