pub struct MelConfig {
pub fft_size: u32,
pub hop_size: u32,
pub num_mels: u32,
pub f_min: f32,
pub f_max: f32,
pub log_scale: bool,
pub normalize: bool,
}Expand description
Mel-spectrogram configuration.
Fields§
§fft_size: u32§hop_size: u32§num_mels: u32§f_min: f32§f_max: f32Zero selects the Nyquist frequency.
log_scale: bool§normalize: boolTrait Implementations§
impl Copy for MelConfig
impl StructuralPartialEq for MelConfig
Auto Trait Implementations§
impl Forget for MelConfig
impl Freeze for MelConfig
impl Move for MelConfig
impl RefUnwindSafe for MelConfig
impl Send for MelConfig
impl Sync for MelConfig
impl Unpin for MelConfig
impl UnsafeUnpin for MelConfig
impl UnwindSafe for MelConfig
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