pub struct HeartCodecConfig {Show 24 fields
pub dim: usize,
pub codebook_size: usize,
pub codebook_dim: usize,
pub num_quantizers: usize,
pub attention_head_dim: usize,
pub in_channels: usize,
pub num_attention_heads: usize,
pub num_layers: usize,
pub num_layers_2: usize,
pub out_channels: usize,
pub sample_rate: usize,
pub latent_hidden_dim: usize,
pub init_channel: usize,
pub num_bands: usize,
pub num_samples: usize,
pub downsample_factors: [usize; 5],
pub downsample_kernel_sizes: [usize; 5],
pub upsample_factors: [usize; 5],
pub upsample_kernel_sizes: [usize; 5],
pub default_kernel_size: usize,
pub delay_kernel_size: usize,
pub res_kernel_size: usize,
pub causal: bool,
pub ode_steps: usize,
}Fields§
§dim: usize§codebook_size: usize§codebook_dim: usize§num_quantizers: usize§attention_head_dim: usize§in_channels: usize§num_attention_heads: usize§num_layers: usize§num_layers_2: usize§out_channels: usize§sample_rate: usize§init_channel: usize§num_bands: usize§num_samples: usize§downsample_factors: [usize; 5]§downsample_kernel_sizes: [usize; 5]§upsample_factors: [usize; 5]§upsample_kernel_sizes: [usize; 5]§default_kernel_size: usize§delay_kernel_size: usize§res_kernel_size: usize§causal: bool§ode_steps: usizeTrait Implementations§
Source§impl Clone for HeartCodecConfig
impl Clone for HeartCodecConfig
Source§fn clone(&self) -> HeartCodecConfig
fn clone(&self) -> HeartCodecConfig
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 HeartCodecConfig
impl Debug for HeartCodecConfig
Auto Trait Implementations§
impl Freeze for HeartCodecConfig
impl RefUnwindSafe for HeartCodecConfig
impl Send for HeartCodecConfig
impl Sync for HeartCodecConfig
impl Unpin for HeartCodecConfig
impl UnsafeUnpin for HeartCodecConfig
impl UnwindSafe for HeartCodecConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more