code: def make_plackett_luce(
      batch_shape, num_elements, dtype=tf.int32, scores_dtype=tf.float32
  ):
      scores = tf.random.uniform(
          list(batch_shape) + [num_elements],
          0.1,
          10,
          dtype=scores_dtype,
          seed=test_util.test_seed(),
      )
      return plackett_luce.PlackettLuce(
          scores, dtype=dtype, validate_args=True
      )
  
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 1 for calling a global function with example usage: make_plackett_luce(batch_shape, num_elements, dtype, scores_dtype) and returns: plackett_luce