code: def shuffle(value, seed=None, name=None):
      """As `tf.random.shuffle`, but handling stateful/stateless `seed`s."""
      with tf.name_scope(name or "shuffle"):
          seed = sanitize_seed(seed)
          sortkey = tf.random.stateless_uniform(
              shape=[ps.shape(value)[0]], seed=seed
          )
          return tf.gather(value, tf.argsort(sortkey))
  
file_path: probability/tensorflow_probability/python/internal/samplers.py
imports: import hashlib
  import warnings
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import prefer_static
label_desc: Use image node_id 11 for calling a global function with example usage: shuffle(value, seed, name) and returns: tf