Struct syntaxdot_encoders::layer::LayerEncoder
source · pub struct LayerEncoder { /* private fields */ }Expand description
Encode sentences using a CoNLL-X layer.
Implementations§
Trait Implementations§
source§impl Clone for LayerEncoder
impl Clone for LayerEncoder
source§fn clone(&self) -> LayerEncoder
fn clone(&self) -> LayerEncoder
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 LayerEncoder
impl Debug for LayerEncoder
source§impl<'de> Deserialize<'de> for LayerEncoder
impl<'de> Deserialize<'de> for LayerEncoder
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 PartialEq<LayerEncoder> for LayerEncoder
impl PartialEq<LayerEncoder> for LayerEncoder
source§fn eq(&self, other: &LayerEncoder) -> bool
fn eq(&self, other: &LayerEncoder) -> bool
source§impl SentenceDecoder for LayerEncoder
impl SentenceDecoder for LayerEncoder
source§impl SentenceEncoder for LayerEncoder
impl SentenceEncoder for LayerEncoder
source§impl Serialize for LayerEncoder
impl Serialize for LayerEncoder
impl Eq for LayerEncoder
impl StructuralEq for LayerEncoder
impl StructuralPartialEq for LayerEncoder
Auto Trait Implementations§
impl RefUnwindSafe for LayerEncoder
impl Send for LayerEncoder
impl Sync for LayerEncoder
impl Unpin for LayerEncoder
impl UnwindSafe for LayerEncoder
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.