Struct Choice
pub struct Choice<'a> { /* private fields */ }Expand description
The set of hyperparameter choices OnlineTuner::suggest produced this
round — one value per cluster, borrowed from the tuner (no allocation).
Read a value by cluster name with get or by declaration
index with value_at. The borrow is released as soon as
the choices are copied out, which is why the loop pattern extracts the f64s
it needs before calling observe.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Choice<'a>
impl<'a> RefUnwindSafe for Choice<'a>
impl<'a> Send for Choice<'a>
impl<'a> Sync for Choice<'a>
impl<'a> Unpin for Choice<'a>
impl<'a> UnsafeUnpin for Choice<'a>
impl<'a> UnwindSafe for Choice<'a>
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