class_docstr: This `Metric` calculates the mean absolute error (MAE) between two tensors.
docstr: # Returns
  
  The accumulated mean absolute error.
code: def get_metric(self, reset: bool = False) -> Dict[str, float]:
      """
      # Returns
  
      The accumulated mean absolute error.
      """
      mean_absolute_error = self._absolute_error / self._total_count
      if reset:
          self.reset()
      return {"mae": mean_absolute_error}
  
file_path: allennlp/allennlp/training/metrics/mean_absolute_error.py
imports: from typing import Dict, Optional
  import torch
  from allennlp.training.metrics.metric import Metric
  from allennlp.nn.util import dist_reduce_sum
label_desc: Use image node_id 3 for calling the MeanAbsoluteError obj's underlying member method code with example usage: obj.get_metric(reset) and returns: dict