pub struct AdaptiveSampling {
pub min_samples: usize,
pub max_samples: usize,
pub error_threshold: f64,
pub growth_factor: f64,
}Expand description
Adaptive sampling strategy for optimizing computation graph evaluation
Fields§
§min_samples: usizeMinimum sample count to try
max_samples: usizeMaximum sample count allowed
error_threshold: f64Relative error threshold for convergence
growth_factor: f64Factor to increase sample count on each iteration
Trait Implementations§
Source§impl Clone for AdaptiveSampling
impl Clone for AdaptiveSampling
Source§fn clone(&self) -> AdaptiveSampling
fn clone(&self) -> AdaptiveSampling
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 AdaptiveSampling
impl Debug for AdaptiveSampling
Auto Trait Implementations§
impl Freeze for AdaptiveSampling
impl RefUnwindSafe for AdaptiveSampling
impl Send for AdaptiveSampling
impl Sync for AdaptiveSampling
impl Unpin for AdaptiveSampling
impl UnwindSafe for AdaptiveSampling
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