pub struct KeywordSpotConfig {Show 14 fields
pub zipformer_encoder: String,
pub zipformer_decoder: String,
pub zipformer_joiner: String,
pub tokens: String,
pub keywords: String,
pub max_active_path: i32,
pub keywords_threshold: f32,
pub keywords_score: f32,
pub num_trailing_blanks: i32,
pub sample_rate: i32,
pub feature_dim: i32,
pub debug: bool,
pub num_threads: Option<i32>,
pub provider: Option<String>,
}
Fields§
§zipformer_encoder: String
§zipformer_decoder: String
§zipformer_joiner: String
§tokens: String
§keywords: String
§max_active_path: i32
§keywords_threshold: f32
§keywords_score: f32
§num_trailing_blanks: i32
§sample_rate: i32
§feature_dim: i32
§debug: bool
§num_threads: Option<i32>
§provider: Option<String>
Trait Implementations§
Source§impl Clone for KeywordSpotConfig
impl Clone for KeywordSpotConfig
Source§fn clone(&self) -> KeywordSpotConfig
fn clone(&self) -> KeywordSpotConfig
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 KeywordSpotConfig
impl Debug for KeywordSpotConfig
Auto Trait Implementations§
impl Freeze for KeywordSpotConfig
impl RefUnwindSafe for KeywordSpotConfig
impl Send for KeywordSpotConfig
impl Sync for KeywordSpotConfig
impl Unpin for KeywordSpotConfig
impl UnwindSafe for KeywordSpotConfig
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