code: def testKType(self):
      for ktype in [dtypes.int32, dtypes.int64, dtypes.int16]:
          inputs = [[0.1, 0.3, 0.2, 0.4], [0.1, 0.3, 0.4, 0.2]]
          self._validateTopK(
              inputs,
              constant_op.constant(2, dtype=ktype),
              [[0.4, 0.3], [0.4, 0.3]],
              [[3, 1], [2, 1]],
          )
  
imports: import itertools
  import sys
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import resource_variable_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the TopKTest obj's underlying member method code with example usage: obj.testKType() without return types