pub struct FrameworkIntegrationManager { /* private fields */ }Expand description
Main framework integration manager
Implementations§
Source§impl FrameworkIntegrationManager
impl FrameworkIntegrationManager
pub fn new(config: IntegrationConfig) -> Self
pub fn add_integration(&self, integration_type: IntegrationType) -> Result<()>
pub fn start_experiment( &self, name: &str, description: Option<String>, ) -> Result<String>
pub fn log_hyperparameters( &self, parameters: HashMap<String, ParameterValue>, ) -> Result<()>
pub fn log_metrics( &self, metrics: HashMap<String, f64>, step: Option<usize>, ) -> Result<()>
pub fn log_artifact( &self, name: &str, path: &PathBuf, artifact_type: &str, ) -> Result<()>
pub fn end_experiment(&self) -> Result<()>
pub fn sync_all(&self) -> Result<()>
Auto Trait Implementations§
impl Freeze for FrameworkIntegrationManager
impl RefUnwindSafe for FrameworkIntegrationManager
impl Send for FrameworkIntegrationManager
impl Sync for FrameworkIntegrationManager
impl Unpin for FrameworkIntegrationManager
impl UnsafeUnpin for FrameworkIntegrationManager
impl UnwindSafe for FrameworkIntegrationManager
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more