code: def _normalize_int_tuple(value, name, rank) -> Tuple[int]:
      try:
          return rank * (int(value),)
      except (ValueError, TypeError):
          try:
              value = tuple(int(v) for v in value)
              assert len(value) == rank
              return value
          except (ValueError, TypeError, AssertionError):
              raise ValueError(
                  f"`{name}` must be an integer or an iterable of integers with length "
                  f"{rank}."
              )
  
imports: from typing import Any, Callable, Dict, NoReturn, Optional, Tuple, Union
  import tensorflow
  from tensorflow_compression.python.layers import parameters
  from tensorflow_compression.python.ops import padding_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _normalize_int_tuple(value, name, rank) and returns: unknown, value