code: def testComputePairwiseDistances(self):
      input_vects = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
      pdist_matrix = np.array(
          [
              [
                  0.0,
                  27.0,
                  108.0,
              ],
              [27.0, 0.0, 27.0],
              [108.0, 27.0, 0.0],
          ]
      )
      tf_dist_matrix = utils.compute_pairwise_distances(
          tf.constant(input_vects, dtype=tf.float32)
      )
      self.assertAllClose(pdist_matrix, self.evaluate(tf_dist_matrix))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_probability
  from tf_agents.bandits.agents import utils
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.trajectories import trajectory
label_desc: Use image node_id 4 for calling the UtilsTest obj's underlying member method code with example usage: obj.testComputePairwiseDistances() without return types