class_docstr: The :class:`AdvancedMetric` class is a metric which provides different process methods for training and
  validation. This enables running metrics which do not output intermediate steps during validation.
  
  Args:
      name (str): The name of the metric.
class_docstr_tok: ["The",":","class",":","`","AdvancedMetric","`","class","is","a","metric","which","provides","different","process","methods","for","training","and","validation",".","This","enables","running","metrics","which","do","not","output","intermediate","steps","during","validation",".","Args",":","name","(","str",")",":","The","name","of","the","metric","."]
code: def __init__(self, name):
      super(AdvancedMetric, self).__init__(name)
      self._process = self.process_train
      self._process_final = self.process_final_train
  
imports: import inspect
  from torchbearer import Metric, no_grad
label_desc: Use image node_id 1 to create a new AdvancedMetric object from inherited base classes: Metric with example: obj = AdvancedMetric(name)