code: def assert_string_or_int(dtype, prefix):
      if (dtype != dtypes.string) and (not dtype.is_integer):
          raise ValueError(
              "{} dtype must be string or integer. dtype: {}.".format(
                  prefix, dtype
              )
          )
  
file_path: tensorflow-upstream/tensorflow/python/feature_column/utils.py
imports: import six
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 2 for calling a global function with example usage: assert_string_or_int(dtype, prefix) without return types