code: def testDtype(self):
      dist = make_plackett_luce([], 5, dtype=tf.int32)
      self.assertEqual(dist.dtype, tf.int32)
      self.assertEqual(
          dist.dtype, dist.sample(5, seed=test_util.test_seed()).dtype
      )
      self.assertEqual(dist.dtype, dist.mode().dtype)
      dist = make_plackett_luce([], 5, dtype=tf.int64)
      self.assertEqual(dist.dtype, tf.int64)
      self.assertEqual(
          dist.dtype, dist.sample(5, seed=test_util.test_seed()).dtype
      )
      self.assertEqual(dist.dtype, dist.mode().dtype)
      self.assertEqual(dist.scores.dtype, tf.float32)
      self.assertEqual(
          dist.scores.dtype,
          dist.prob(np.array([1, 0, 2, 4, 3], dtype=np.int64)).dtype,
      )
      self.assertEqual(
          dist.scores.dtype,
          dist.log_prob(
              np.array([1, 0, 2, 4, 3], dtype=np.int64)
          ).dtype,
      )
      dist = make_plackett_luce(
          [], 5, dtype=tf.int64, scores_dtype=tf.float64
      )
      self.assertEqual(dist.scores.dtype, tf.float64)
      self.assertEqual(
          dist.scores.dtype,
          dist.prob(np.array([1, 0, 2, 4, 3], dtype=np.int64)).dtype,
      )
      self.assertEqual(
          dist.scores.dtype,
          dist.log_prob(
              np.array([1, 0, 2, 4, 3], dtype=np.int64)
          ).dtype,
      )
  
imports: import numpy
  import scipy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.distributions import plackett_luce
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.util import deferred_tensor
label_desc: Use image node_id 5 for calling the PlackettLuceTest obj's underlying member method code with example usage: obj.testDtype() without return types