code: def testTop3(self):
      for k in range(3, 11, 2):
          for dim in range(512, 12288, 512):
              inputs = np.random.permutation(
                  np.linspace(0, 100, dim, dtype=np.float64)
              )
              indices = np.argsort(-inputs)[:k]
              values = -np.sort(-inputs)[:k]
              self._validateTopK(inputs, k, values, indices)
  
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 6 for calling the TopKTest obj's underlying member method code with example usage: obj.testTop3() without return types