pub struct MlflowRun { /* private fields */ }
Implementations§
Source§impl MlflowRun
impl MlflowRun
pub fn id(&self) -> &str
pub fn name(&self) -> &str
pub fn data(&self) -> &Run
pub fn reload(&self) -> Result<Self>
pub fn update(&self, options: UpdateRunOptions<'_>) -> Result<()>
pub fn delete(&self) -> Result<()>
pub fn restore(&self) -> Result<()>
pub fn set_tag(&self, key: &str, value: &str) -> Result<()>
pub fn delete_tag(&self, key: &str) -> Result<()>
pub fn log_param(&self, key: &str, value: &str) -> Result<()>
pub fn log_params(&self, key: &str, values: impl Serialize) -> Result<()>
pub fn log_metric( &self, key: &str, value: f64, timestamp: impl Into<Timestamp>, step: Option<i64>, ) -> Result<()>
pub fn log_metrics( &mut self, metrics: &[(impl AsRef<str>, f64)], step: Option<i64>, ) -> Result<()>
pub fn log_batch( &self, metrics: &[Metric], params: &[Param], tags: &[RunTag], ) -> Result<()>
pub fn metric_history(&self, key: &str) -> Result<Vec<Metric>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MlflowRun
impl RefUnwindSafe for MlflowRun
impl Send for MlflowRun
impl Sync for MlflowRun
impl Unpin for MlflowRun
impl UnwindSafe for MlflowRun
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