pub struct WaveNetConfig {
pub layers: Vec<LayerArrayConfig>,
pub head: Option<Value>,
pub head_scale: f32,
}Expand description
WaveNet configuration: a sequence of layer-arrays plus a final output scale.
Fields§
§layers: Vec<LayerArrayConfig>One config per layer-array (NAM standard models have two).
head: Option<Value>Optional separate head. null in standard models.
head_scale: f32Output gain applied after the head.
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 moreSource§impl Debug for WaveNetConfig
impl Debug for WaveNetConfig
Source§impl<'de> Deserialize<'de> for WaveNetConfig
impl<'de> Deserialize<'de> for WaveNetConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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