pub struct WaveNetConfig {
pub layers: Vec<LayerArrayConfig>,
pub post_stack_head: Option<PostStackHeadConfig>,
pub head_scale: f32,
pub in_channels: usize,
pub condition_dsp: Option<Box<NamModel>>,
}Expand description
WaveNet configuration: layer-arrays, optional post-stack head + condition DSP,
and the output scale. Per-layer quantities are normalized into Vecs.
Fields§
§layers: Vec<LayerArrayConfig>One config per layer-array.
post_stack_head: Option<PostStackHeadConfig>Optional post-stack head (config.head).
head_scale: f32Output gain (note: the runtime value is the trailing weight).
in_channels: usizeInput channels (default 1).
condition_dsp: Option<Box<NamModel>>Optional nested conditioning DSP.
Trait Implementations§
Source§impl Clone for WaveNetConfig
impl Clone for WaveNetConfig
Source§fn clone(&self) -> WaveNetConfig
fn clone(&self) -> WaveNetConfig
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 WaveNetConfig
impl RefUnwindSafe for WaveNetConfig
impl Send for WaveNetConfig
impl Sync for WaveNetConfig
impl Unpin for WaveNetConfig
impl UnsafeUnpin for WaveNetConfig
impl UnwindSafe for WaveNetConfig
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