#[repr(C)]pub struct sd_cache_params_t {Show 17 fields
pub mode: sd_cache_mode_t,
pub reuse_threshold: f32,
pub start_percent: f32,
pub end_percent: f32,
pub error_decay_rate: f32,
pub use_relative_threshold: bool,
pub reset_error_on_compute: bool,
pub Fn_compute_blocks: c_int,
pub Bn_compute_blocks: c_int,
pub residual_diff_threshold: f32,
pub max_warmup_steps: c_int,
pub max_cached_steps: c_int,
pub max_continuous_cached_steps: c_int,
pub taylorseer_n_derivatives: c_int,
pub taylorseer_skip_interval: c_int,
pub scm_mask: *const c_char,
pub scm_policy_dynamic: bool,
}Fields§
§mode: sd_cache_mode_t§reuse_threshold: f32§start_percent: f32§end_percent: f32§error_decay_rate: f32§use_relative_threshold: bool§reset_error_on_compute: bool§Fn_compute_blocks: c_int§Bn_compute_blocks: c_int§residual_diff_threshold: f32§max_warmup_steps: c_int§max_cached_steps: c_int§max_continuous_cached_steps: c_int§taylorseer_n_derivatives: c_int§taylorseer_skip_interval: c_int§scm_mask: *const c_char§scm_policy_dynamic: boolTrait Implementations§
Source§impl Clone for sd_cache_params_t
impl Clone for sd_cache_params_t
Source§fn clone(&self) -> sd_cache_params_t
fn clone(&self) -> sd_cache_params_t
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 sd_cache_params_t
impl Debug for sd_cache_params_t
impl Copy for sd_cache_params_t
Auto Trait Implementations§
impl Freeze for sd_cache_params_t
impl RefUnwindSafe for sd_cache_params_t
impl !Send for sd_cache_params_t
impl !Sync for sd_cache_params_t
impl Unpin for sd_cache_params_t
impl UnwindSafe for sd_cache_params_t
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