class_docstr: Data structure that manages the metric data (e.g., loss, accuracy, etc.).
  
  NOTE: Multiple metrics and minimized metrics are not supported in the current iteration.
  
  Parameters
  ----------
  strict
      Whether to convert the metrics into a float.
      If ``true``, only float metrics or dict with "default" are accepted.
code: def _load(
      cls,
      intermediates: list[TrialMetric],
      final: TrialMetric | None = None,
  ) -> Metrics:
      rv = Metrics()
      rv._intermediates = intermediates
      rv._final = final
      return rv
  
file_path: nni/nni/nas/space/metrics.py
imports: from __future__ import annotations
  from typing import Any, Sequence, cast
  from nni.typehint import TrialMetric
label_desc: Use image node_id 5 for calling the Metrics obj's underlying member method code with example usage: obj._load(cls, intermediates, final) and returns: rv