pub struct MixerAttributes {
pub mechanism: MixerMechanism,
pub recurrent: bool,
pub convolution_width: Option<usize>,
}Expand description
Optional geometry for a stateful token mixer.
Fields§
§mechanism: MixerMechanismEquation class of this operator.
recurrent: boolWhether execution maintains recurrent state.
convolution_width: Option<usize>Causal convolution kernel width, when present.
Trait Implementations§
Source§impl Clone for MixerAttributes
impl Clone for MixerAttributes
Source§fn clone(&self) -> MixerAttributes
fn clone(&self) -> MixerAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MixerAttributes
impl Debug for MixerAttributes
Source§impl<'de> Deserialize<'de> for MixerAttributes
impl<'de> Deserialize<'de> for MixerAttributes
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
impl Eq for MixerAttributes
Source§impl PartialEq for MixerAttributes
impl PartialEq for MixerAttributes
Source§impl Serialize for MixerAttributes
impl Serialize for MixerAttributes
impl StructuralPartialEq for MixerAttributes
Auto Trait Implementations§
impl Freeze for MixerAttributes
impl RefUnwindSafe for MixerAttributes
impl Send for MixerAttributes
impl Sync for MixerAttributes
impl Unpin for MixerAttributes
impl UnsafeUnpin for MixerAttributes
impl UnwindSafe for MixerAttributes
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