pub struct NaturalGradientTuningStep {
pub selected_workgroup_size: [u32; 3],
pub best_measured_workgroup_size: [u32; 3],
pub best_measured_elapsed_ns: u64,
pub policy_weights_q16: Vec<u32>,
pub natural_gradient_q16: Vec<u32>,
}Expand description
Result of a natural-gradient autotune policy update.
Fields§
§selected_workgroup_size: [u32; 3]Candidate selected after Fisher preconditioning.
best_measured_workgroup_size: [u32; 3]Fastest candidate observed in the raw measurement window.
best_measured_elapsed_ns: u64Fastest elapsed time observed in the raw measurement window.
policy_weights_q16: Vec<u32>Softmax policy weights in 16.16 fixed-point form.
natural_gradient_q16: Vec<u32>Fisher-preconditioned gradient magnitudes in 16.16 fixed-point form.
Trait Implementations§
Source§impl Clone for NaturalGradientTuningStep
impl Clone for NaturalGradientTuningStep
Source§fn clone(&self) -> NaturalGradientTuningStep
fn clone(&self) -> NaturalGradientTuningStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NaturalGradientTuningStep
impl Debug for NaturalGradientTuningStep
impl Eq for NaturalGradientTuningStep
Source§impl PartialEq for NaturalGradientTuningStep
impl PartialEq for NaturalGradientTuningStep
Source§fn eq(&self, other: &NaturalGradientTuningStep) -> bool
fn eq(&self, other: &NaturalGradientTuningStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NaturalGradientTuningStep
Auto Trait Implementations§
impl Freeze for NaturalGradientTuningStep
impl RefUnwindSafe for NaturalGradientTuningStep
impl Send for NaturalGradientTuningStep
impl Sync for NaturalGradientTuningStep
impl Unpin for NaturalGradientTuningStep
impl UnsafeUnpin for NaturalGradientTuningStep
impl UnwindSafe for NaturalGradientTuningStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.