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","."]
docstr: Depending on the current mode, return the result of either 'process_final_train' or 'process_final_validate'.
  
  Returns:
      The final metric value.
docstr_tok: ["Depending","on","the","current","mode",",","return","the","result","of","either","'process_final_train","'","or","'process_final_validate","'",".","Returns",":","The","final","metric","value","."]
code: def process_final(self, *args):
      """Depending on the current mode, return the result of either 'process_final_train' or 'process_final_validate'.
  
      Returns:
          The final metric value.
      """
      return self._process_final(*args)
  
imports: import inspect
  from torchbearer import Metric, no_grad
label_desc: Use image node_id 7 for calling the AdvancedMetric obj's underlying member method code with example usage: obj.process_final() and returns: self