pub struct Run<'a> { /* private fields */ }
Expand description
A MLflow Run.
This can be created using Experiment::create_run
.
It allows logging parameters and metrics.
Implementations§
Source§impl Run<'_>
Client methods with error handling.
impl Run<'_>
Client methods with error handling.
pub fn try_log_param(&self, name: &str, value: &str) -> Result<(), StorageError>
pub fn try_log_metric( &self, name: &str, value: f64, time_stamp: u64, step: u64, ) -> Result<(), StorageError>
pub fn try_terminate(self) -> Result<(), StorageError>
Auto Trait Implementations§
impl<'a> Freeze for Run<'a>
impl<'a> !RefUnwindSafe for Run<'a>
impl<'a> !Send for Run<'a>
impl<'a> !Sync for Run<'a>
impl<'a> Unpin for Run<'a>
impl<'a> !UnwindSafe for Run<'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