pub struct Golden(/* private fields */);Implementations§
Source§impl Golden
impl Golden
pub fn load() -> Self
pub fn regimes(&self) -> Vec<String>
pub fn fixture_u64(&self, key: &str) -> u64
pub fn fixture_f64(&self, key: &str) -> f64
pub fn fixture_i64(&self, key: &str) -> i64
pub fn fixture_usize_list(&self, key: &str) -> Vec<usize>
pub fn lcg_probe(&self) -> Vec<u64>
pub fn capture_names(&self, regime: &str) -> Vec<String>
pub fn tensor(&self, regime: &str, name: &str) -> GoldenTensor
Sourcepub fn weight_meta(&self, name: &str) -> WeightMeta
pub fn weight_meta(&self, name: &str) -> WeightMeta
One parameter’s regeneration rule by name.
pub fn weights_meta(&self) -> Vec<WeightMeta>
Auto Trait Implementations§
impl Freeze for Golden
impl RefUnwindSafe for Golden
impl Send for Golden
impl Sync for Golden
impl Unpin for Golden
impl UnwindSafe for Golden
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