code: def name_to_metric(self, metric_name):
      if metric_name == "current_epoch":
          return self.current_epoch
      v_1 = metric_name.split("_")[0]
      v_2 = "_".join(metric_name.split("_")[1:])
      return self.metrics[v_1][v_2]
  
imports: import warnings
  import psutil
  import torch
  import torch.nn
  from tqdm import tqdm
  from tez import enums
  from tez.callbacks import CallbackRunner
  from tez.utils import AverageMeter
label_desc: Use image node_id 6 for calling the Model obj's underlying member method code with example usage: obj.name_to_metric(metric_name) and returns: self, self