pub struct ShortConvCfg {
pub hidden_size: usize,
pub kernel: usize,
}Fields§
§kernel: usizeConv kernel width L (conv_L_cache; LFM2 uses 3).
Implementations§
Trait Implementations§
Source§impl Clone for ShortConvCfg
impl Clone for ShortConvCfg
Source§fn clone(&self) -> ShortConvCfg
fn clone(&self) -> ShortConvCfg
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 moreimpl Copy for ShortConvCfg
Auto Trait Implementations§
impl Freeze for ShortConvCfg
impl RefUnwindSafe for ShortConvCfg
impl Send for ShortConvCfg
impl Sync for ShortConvCfg
impl Unpin for ShortConvCfg
impl UnsafeUnpin for ShortConvCfg
impl UnwindSafe for ShortConvCfg
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