code: def normalize_tuple(value, n, name):
      """Transforms an integer or iterable of integers into an integer tuple.
  
      A copy of tensorflow.python.keras.util.
  
      Args:
        value: The value to validate and convert. Could an int, or any iterable
          of ints.
        n: The size of the tuple to be returned.
        name: The name of the argument being validated, e.g. "strides" or
          "kernel_size". This is only used to format error messages.
  
      Returns:
        A tuple of n integers.
  
      Raises:
        ValueError: If something else than an int/long or iterable thereof was
          passed.
      """
      if isinstance(value, int):
          return (value,) * n
      else:
          try:
              value_tuple = tuple(value)
          except TypeError:
              raise TypeError(
                  "The `"
                  + name
                  + "` argument must be a tuple of "
                  + str(n)
                  + " integers. Received: "
                  + str(value)
              )
          if len(value_tuple) != n:
              raise ValueError(
                  "The `"
                  + name
                  + "` argument must be a tuple of "
                  + str(n)
                  + " integers. Received: "
                  + str(value)
              )
          for single_value in value_tuple:
              try:
                  int(single_value)
              except (ValueError, TypeError):
                  raise ValueError(
                      "The `"
                      + name
                      + "` argument must be a tuple of "
                      + str(n)
                      + " integers. Received: "
                      + str(value)
                      + " "
                      "including element "
                      + str(single_value)
                      + " of type"
                      + " "
                      + str(type(single_value))
                  )
          return value_tuple
  
file_path: addons/tensorflow_addons/utils/keras_utils.py
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: normalize_tuple(value, n, name) and returns: unknown, value_tuple