#[repr(C)]pub struct SherpaOnnxOfflineTransducerModelConfig {
pub encoder: *const c_char,
pub decoder: *const c_char,
pub joiner: *const c_char,
}
Expand description
Please refer to https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html to download pre-trained models. That is, you can find encoder-xxx.onnx decoder-xxx.onnx, and joiner-xxx.onnx for this struct from there.
Fields§
§encoder: *const c_char
§decoder: *const c_char
§joiner: *const c_char
Trait Implementations§
Source§impl Clone for SherpaOnnxOfflineTransducerModelConfig
impl Clone for SherpaOnnxOfflineTransducerModelConfig
Source§fn clone(&self) -> SherpaOnnxOfflineTransducerModelConfig
fn clone(&self) -> SherpaOnnxOfflineTransducerModelConfig
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 SherpaOnnxOfflineTransducerModelConfig
Auto Trait Implementations§
impl Freeze for SherpaOnnxOfflineTransducerModelConfig
impl RefUnwindSafe for SherpaOnnxOfflineTransducerModelConfig
impl !Send for SherpaOnnxOfflineTransducerModelConfig
impl !Sync for SherpaOnnxOfflineTransducerModelConfig
impl Unpin for SherpaOnnxOfflineTransducerModelConfig
impl UnwindSafe for SherpaOnnxOfflineTransducerModelConfig
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