code: def __compare_rounder__(compare, cm_dict):
      """
      Round Compare.scores .
  
      :param compare: Compare
      :type compare: pycm.Compare object
      :param cm_dict: dictionary of confusion matrices
      :type cm_dict: dict
      :return: None
      """
      for cm_name in cm_dict.keys():
          compare.scores[cm_name]["overall"] = numpy.around(
              compare.scores[cm_name]["overall"], compare.digit
          )
          compare.scores[cm_name]["class"] = numpy.around(
              compare.scores[cm_name]["class"], compare.digit
          )
  
imports: from __future__ import division
  from .pycm_error import pycmCompareError
  from .pycm_output import *
  from .pycm_util import *
  from .pycm_param import *
  from .pycm_obj import ConfusionMatrix
  import os
  import numpy
  from warnings import warn
label_desc: Use image node_id 3 for calling a global function with example usage: __compare_rounder__(compare, cm_dict) without return types