#[repr(C)]pub struct whisper_context_params {
pub use_gpu: bool,
pub flash_attn: bool,
pub gpu_device: c_int,
pub dtw_token_timestamps: bool,
pub dtw_aheads_preset: c_int,
pub dtw_n_top: c_int,
pub dtw_aheads: whisper_aheads,
pub dtw_mem_size: usize,
}Fields§
§use_gpu: bool§flash_attn: bool§gpu_device: c_int§dtw_token_timestamps: bool§dtw_aheads_preset: c_int§dtw_n_top: c_int§dtw_aheads: whisper_aheads§dtw_mem_size: usizeTrait Implementations§
Source§impl Clone for whisper_context_params
impl Clone for whisper_context_params
Source§fn clone(&self) -> whisper_context_params
fn clone(&self) -> whisper_context_params
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 moreSource§impl Debug for whisper_context_params
impl Debug for whisper_context_params
Source§impl Default for whisper_context_params
impl Default for whisper_context_params
Source§fn default() -> whisper_context_params
fn default() -> whisper_context_params
Returns the “default value” for a type. Read more
impl Copy for whisper_context_params
Auto Trait Implementations§
impl Freeze for whisper_context_params
impl RefUnwindSafe for whisper_context_params
impl !Send for whisper_context_params
impl !Sync for whisper_context_params
impl Unpin for whisper_context_params
impl UnwindSafe for whisper_context_params
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