code: def quantile_loss(
      data: Dict[str, np.ndarray], q: float
  ) -> np.ndarray:
      forecast_type = str(q)
      prediction = data[forecast_type]
  
      return 2 * np.abs(
          error(data, forecast_type)
          * ((prediction >= data["label"]) - q)
      )
  
file_path: gluonts/src/gluonts/ev/stats.py
imports: from typing import Dict
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: quantile_loss(data, q) and returns: unknown