pub struct ModelConfig {
pub model_type: ModelType,
pub sample_rate: u32,
pub segment_duration: f32,
pub sample_count: usize,
pub num_species: usize,
pub embedding_dim: Option<usize>,
}Expand description
Model configuration derived from detected model type.
Fields§
§model_type: ModelTypeDetected or overridden model type.
sample_rate: u32Sample rate in Hz.
segment_duration: f32Segment duration in seconds.
sample_count: usizeExpected sample count per segment.
num_species: usizeNumber of species classes in model output.
embedding_dim: Option<usize>Embedding dimension (None for v2.4).
Trait Implementations§
Source§impl Clone for ModelConfig
impl Clone for ModelConfig
Source§fn clone(&self) -> ModelConfig
fn clone(&self) -> ModelConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ModelConfig
impl RefUnwindSafe for ModelConfig
impl Send for ModelConfig
impl Sync for ModelConfig
impl Unpin for ModelConfig
impl UnwindSafe for ModelConfig
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