class_docstr: WandbLogger to log metrics to Weights and Biases.
code: def _add_head_to_metrics(self, metrics, head):
      head_metrics = dict()
      for k, v in metrics.items():
          if "_step" in k:
              head_metrics[k] = v
          else:
              head_metrics[f"{head}/{k}"] = v
  
      return head_metrics
  
file_path: RecBole/recbole/utils/wandblogger.py
label_desc: Use image node_id 6 for calling the WandbLogger obj's underlying member method code with example usage: obj._add_head_to_metrics(metrics, head) and returns: head_metrics