code: def testReferentialEquality(self, ref_type):
      tensors = (
          tf.constant([1.0, 2.0, 3.0], dtype=tf.float32, name="alice"),
          tf.constant([1.0, 2.0, 3.0], dtype=tf.float32, name="alice"),
      )
      ref1, ref2 = map(ref_type, tensors)
      self.assertNotEqual(ref1, ref2)
      self.assertNotEqual(hash(ref1), hash(ref2))
  
imports: from absl.testing import parameterized
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import cache_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the HashableRefTest obj's underlying member method code with example usage: obj.testReferentialEquality(ref_type) without return types