code: def log_loss(self, name: str, loss: float):
      return self.log_step(value=loss, name=name, type="loss")
  
imports: import time
  import typing
  from typing import Dict, List, Optional, Tuple, Union
  import pydantic
  from ._namespace import NS, IndexedNS
label_desc: Use image node_id 5 for calling the MetricsWrap obj's underlying member method code with example usage: obj.log_loss(name, loss) and returns: self