pub struct ClsTokenPoolStage {
pub batch: usize,
pub hidden: usize,
}Expand description
Extract CLS token [batch, 1, hidden] → [batch, hidden].
Fields§
§batch: usizeImplementations§
Trait Implementations§
Source§impl Clone for ClsTokenPoolStage
impl Clone for ClsTokenPoolStage
Source§fn clone(&self) -> ClsTokenPoolStage
fn clone(&self) -> ClsTokenPoolStage
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 moreAuto Trait Implementations§
impl Freeze for ClsTokenPoolStage
impl RefUnwindSafe for ClsTokenPoolStage
impl Send for ClsTokenPoolStage
impl Sync for ClsTokenPoolStage
impl Unpin for ClsTokenPoolStage
impl UnsafeUnpin for ClsTokenPoolStage
impl UnwindSafe for ClsTokenPoolStage
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