pub struct MetricPoint {
pub ts: DateTime<Utc>,
pub name: String,
pub value: f64,
pub step: u64,
pub trial_id: Option<String>,
pub node_id: Option<String>,
}Expand description
One line of metrics.jsonl (also derivable from events).
Fields§
§ts: DateTime<Utc>Wall time the point was logged.
name: StringMetric name (loss, accuracy, …).
value: f64The recorded scalar.
step: u64Logger-supplied step index within the run.
trial_id: Option<String>Owning trial, when logged inside a study.
node_id: Option<String>Emitting node, when the metric came from inside a node.
Trait Implementations§
Source§impl Clone for MetricPoint
impl Clone for MetricPoint
Source§fn clone(&self) -> MetricPoint
fn clone(&self) -> MetricPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricPoint
impl Debug for MetricPoint
Source§impl<'de> Deserialize<'de> for MetricPoint
impl<'de> Deserialize<'de> for MetricPoint
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
Auto Trait Implementations§
impl Freeze for MetricPoint
impl RefUnwindSafe for MetricPoint
impl Send for MetricPoint
impl Sync for MetricPoint
impl Unpin for MetricPoint
impl UnsafeUnpin for MetricPoint
impl UnwindSafe for MetricPoint
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