code: def abs_target_mean(y_true: npt.NDArray[np.float32]) -> float:
      return np.mean(np.abs(y_true))
  
file_path: gluonts/src/gluonts/nursery/tsbench/src/tsbench/forecasts/metrics.py
imports: import math
  import numpy
  import numpy.typing
  from numpy import ma
  from .quantile import QuantileForecasts
label_desc: Use image node_id 4 for calling a global function with example usage: abs_target_mean(y_true) and returns: np