#[repr(C)]pub struct SherpaOnnxOfflineSpeakerDiarizationConfig {
pub segmentation: SherpaOnnxOfflineSpeakerSegmentationModelConfig,
pub embedding: SherpaOnnxSpeakerEmbeddingExtractorConfig,
pub clustering: SherpaOnnxFastClusteringConfig,
pub min_duration_on: f32,
pub min_duration_off: f32,
}
Fields§
§segmentation: SherpaOnnxOfflineSpeakerSegmentationModelConfig
§embedding: SherpaOnnxSpeakerEmbeddingExtractorConfig
§clustering: SherpaOnnxFastClusteringConfig
§min_duration_on: f32
§min_duration_off: f32
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineSpeakerDiarizationConfig
impl Clone for SherpaOnnxOfflineSpeakerDiarizationConfig
Source§fn clone(&self) -> SherpaOnnxOfflineSpeakerDiarizationConfig
fn clone(&self) -> SherpaOnnxOfflineSpeakerDiarizationConfig
Returns a copy 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 moreimpl Copy for SherpaOnnxOfflineSpeakerDiarizationConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineSpeakerDiarizationConfig
impl RefUnwindSafe for SherpaOnnxOfflineSpeakerDiarizationConfig
impl !Send for SherpaOnnxOfflineSpeakerDiarizationConfig
impl !Sync for SherpaOnnxOfflineSpeakerDiarizationConfig
impl Unpin for SherpaOnnxOfflineSpeakerDiarizationConfig
impl UnwindSafe for SherpaOnnxOfflineSpeakerDiarizationConfig
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