code: def runTestWithSeed(self, seed):
      with self.cached_session():
          distances = np.zeros(1000).astype(np.float32)
          distances[6] = 10e7
          distances[4] = 10e3
  
          sampled_point = clustering_ops.kmc2_chain_initialization(
              distances, seed
          )
          self.assertAllEqual(sampled_point, 6)
          distances[6] = 0.0
          sampled_point = clustering_ops.kmc2_chain_initialization(
              distances, seed
          )
          self.assertAllEqual(sampled_point, 4)
  
imports: import numpy
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import clustering_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the KMC2InitializationTest obj's underlying member method code with example usage: obj.runTestWithSeed(seed) without return types