class_docstr: ONNXRuntime will use numpy as data type.
  ONNXRuntime quantization in tensorflow will use tf.keras.metrics.Metric
class_docstr_tok: ["ONNXRuntime","will","use","numpy","as","data","type",".","ONNXRuntime","quantization","in","tensorflow","will","use","tf.keras.metrics.Metric"]
code: def to_scalar(self, tensor):
      return float(tensor)
  
imports: from ..metric import ONNXRuntimeINCMetic
  import tensorflow
label_desc: Use image node_id 2 for calling the KerasONNXRuntimeINCMetic obj's underlying member method code with example usage: obj.to_scalar(tensor) and returns: float