code: def testPmfMode(self):
      # Check that mode has higher probability than any other random sample.
      scores = self._rng.uniform(low=0.1, size=(10)).astype(np.float32)
      dist = plackett_luce.PlackettLuce(
          scores=scores, validate_args=True
      )
      np_sample = self.evaluate(dist.sample(seed=test_util.test_seed()))
      np_prob = self.evaluate(dist.log_prob(np_sample))
      mode = self.evaluate(dist.mode())
      mode_prob = self.evaluate(dist.log_prob(mode))
      self.assertLessEqual(np_prob, mode_prob)
  
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 8 for calling the PlackettLuceTest obj's underlying member method code with example usage: obj.testPmfMode() without return types