#[repr(C)]pub struct SherpaOnnxOfflineModelConfig {Show 15 fields
pub transducer: SherpaOnnxOfflineTransducerModelConfig,
pub paraformer: SherpaOnnxOfflineParaformerModelConfig,
pub nemo_ctc: SherpaOnnxOfflineNemoEncDecCtcModelConfig,
pub whisper: SherpaOnnxOfflineWhisperModelConfig,
pub tdnn: SherpaOnnxOfflineTdnnModelConfig,
pub tokens: *const c_char,
pub num_threads: i32,
pub debug: i32,
pub provider: *const c_char,
pub model_type: *const c_char,
pub modeling_unit: *const c_char,
pub bpe_vocab: *const c_char,
pub telespeech_ctc: *const c_char,
pub sense_voice: SherpaOnnxOfflineSenseVoiceModelConfig,
pub moonshine: SherpaOnnxOfflineMoonshineModelConfig,
}
Fields§
§transducer: SherpaOnnxOfflineTransducerModelConfig
§paraformer: SherpaOnnxOfflineParaformerModelConfig
§nemo_ctc: SherpaOnnxOfflineNemoEncDecCtcModelConfig
§whisper: SherpaOnnxOfflineWhisperModelConfig
§tdnn: SherpaOnnxOfflineTdnnModelConfig
§tokens: *const c_char
§num_threads: i32
§debug: i32
§provider: *const c_char
§model_type: *const c_char
§modeling_unit: *const c_char
§bpe_vocab: *const c_char
§telespeech_ctc: *const c_char
§sense_voice: SherpaOnnxOfflineSenseVoiceModelConfig
§moonshine: SherpaOnnxOfflineMoonshineModelConfig
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineModelConfig
impl Clone for SherpaOnnxOfflineModelConfig
Source§fn clone(&self) -> SherpaOnnxOfflineModelConfig
fn clone(&self) -> SherpaOnnxOfflineModelConfig
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 moreSource§impl Debug for SherpaOnnxOfflineModelConfig
impl Debug for SherpaOnnxOfflineModelConfig
impl Copy for SherpaOnnxOfflineModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineModelConfig
impl RefUnwindSafe for SherpaOnnxOfflineModelConfig
impl !Send for SherpaOnnxOfflineModelConfig
impl !Sync for SherpaOnnxOfflineModelConfig
impl Unpin for SherpaOnnxOfflineModelConfig
impl UnwindSafe for SherpaOnnxOfflineModelConfig
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