code: def to_scalar(self, score):
      return score.item()
  
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 8 for calling the BaseOpenVINOMetric obj's underlying member method code with example usage: obj.to_scalar(score) and returns: score