code: def normalized_table_calc(classes, table):
      """
      Return normalized confusion matrix.
  
      :param classes: confusion matrix classes
      :type classes: list
      :param table: input confusion matrix
      :type table: dict
      :return: normalized table as dict
      """
      normalized_table = {}
      p = float(10**5)
      for key in classes:
          normalized_table[key] = {}
          div = sum(table[key].values())
          if div == 0:
              div = 1
          for item in classes:
              normalized_table[key][item] = custom_rounder(
                  table[key][item] / div, p
              )
      return normalized_table
  
imports: from __future__ import division
  import sys
  import math
  import numpy
  import re
  from .pycm_param import *
  from .pycm_error import pycmMatrixError
  from warnings import warn
  from functools import wraps
label_desc: Use image node_id 11 for calling a global function with example usage: normalized_table_calc(classes, table) and returns: normalized_table