pub struct AttentionBlock { /* private fields */ }
Implementations§
source§impl AttentionBlock
impl AttentionBlock
pub fn new( vs: VarBuilder<'_>, channels: usize, config: AttentionBlockConfig ) -> Result<Self>
Trait Implementations§
source§impl Debug for AttentionBlock
impl Debug for AttentionBlock
Auto Trait Implementations§
impl Freeze for AttentionBlock
impl !RefUnwindSafe for AttentionBlock
impl Send for AttentionBlock
impl Sync for AttentionBlock
impl Unpin for AttentionBlock
impl !UnwindSafe for AttentionBlock
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