code: def avg_value(self):
      preds = self.stack(self._pred_list)
      targets = self.stack(self._target_list)
      # fix bug, todo
      if preds.ndim > 2 and preds.shape[1] == 1:
          preds = preds.squeeze(1)
      if targets.ndim > 1 and targets.shape[1] == 1:
          targets = targets.squeeze(1)
      score = self.metric(preds, targets)
      return {self._name: self.to_scalar(score)}
  
file_path: BigDL/python/nano/src/bigdl/nano/deps/openvino/core/metric.py
imports: from openvino.tools.pot import Metric
  import numpy
label_desc: Use image node_id 3 for calling the BaseOpenVINOMetric obj's underlying member method code with example usage: obj.avg_value() and returns: dict