#[non_exhaustive]pub enum RunKind {
Fit,
Train,
Study,
Trial,
Other,
}Expand description
What kind of work a run tracks.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fit
A GraphSession::fit over a static pipeline.
Train
A native training loop (materialize/forward/backward/step).
Study
A hyperparameter study.
Trial
A single trial within a study.
Other
Anything else — also the fallback when deserializing a kind written by a newer soma, so old readers never fail on new kinds.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunKind
impl<'de> Deserialize<'de> for RunKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RunKind
impl Eq for RunKind
impl StructuralPartialEq for RunKind
Auto Trait Implementations§
impl Freeze for RunKind
impl RefUnwindSafe for RunKind
impl Send for RunKind
impl Sync for RunKind
impl Unpin for RunKind
impl UnsafeUnpin for RunKind
impl UnwindSafe for RunKind
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