pub struct PostStackHeadConfig {
pub channels: usize,
pub out_channels: usize,
pub kernel_sizes: Vec<usize>,
pub activation: ActivationSpec,
}Expand description
Post-stack head (config.head): a stack of activation → Conv1D applied after
the layer-arrays. None for A1 / current A2 defaults.
Fields§
§channels: usizeHidden channel count between head convs.
out_channels: usizeFinal output channels.
kernel_sizes: Vec<usize>Per-conv kernel sizes (one conv per entry).
activation: ActivationSpecActivation applied before each head conv.
Trait Implementations§
Source§impl Clone for PostStackHeadConfig
impl Clone for PostStackHeadConfig
Source§fn clone(&self) -> PostStackHeadConfig
fn clone(&self) -> PostStackHeadConfig
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 PostStackHeadConfig
impl RefUnwindSafe for PostStackHeadConfig
impl Send for PostStackHeadConfig
impl Sync for PostStackHeadConfig
impl Unpin for PostStackHeadConfig
impl UnsafeUnpin for PostStackHeadConfig
impl UnwindSafe for PostStackHeadConfig
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