pub struct Conv {
pub taps: Vec<f32>,
pub channels: usize,
pub kernel: usize,
pub proj: Option<Vec<f32>>,
pub groups: usize,
}Expand description
A short convolution: [channels, kernel] taps, tap 0 on the current position.
Fields§
§taps: Vec<f32>§channels: usize§kernel: usize§proj: Option<Vec<f32>>The full layers’ per-token taps [groups · kernel, hidden] over the
layer input; a group spans channels / groups channels.
groups: usizeAuto Trait Implementations§
impl Forget for Conv
impl Freeze for Conv
impl Move for Conv
impl RefUnwindSafe for Conv
impl Send for Conv
impl Sync for Conv
impl Unpin for Conv
impl UnsafeUnpin for Conv
impl UnwindSafe for Conv
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