pub struct ResidualDecoderAttentionBlockConfig { /* private fields */ }Implementations§
source§impl ResidualDecoderAttentionBlockConfig
impl ResidualDecoderAttentionBlockConfig
pub fn init<B: Backend>(&self) -> ResidualDecoderAttentionBlock<B>
Trait Implementations§
source§impl Config for ResidualDecoderAttentionBlockConfig
impl Config for ResidualDecoderAttentionBlockConfig
source§impl<'de> Deserialize<'de> for ResidualDecoderAttentionBlockConfig
impl<'de> Deserialize<'de> for ResidualDecoderAttentionBlockConfig
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
Auto Trait Implementations§
impl RefUnwindSafe for ResidualDecoderAttentionBlockConfig
impl Send for ResidualDecoderAttentionBlockConfig
impl Sync for ResidualDecoderAttentionBlockConfig
impl Unpin for ResidualDecoderAttentionBlockConfig
impl UnwindSafe for ResidualDecoderAttentionBlockConfig
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