code: def shuffle(
      x: Union[tf.Tensor, tf.Variable],
      axis: Optional[int] = 0,
      /,
      *,
      seed: Optional[int] = None,
      out: Optional[Union[tf.Tensor, tf.Variable]] = None,
  ) -> Union[tf.Tensor, tf.Variable]:
      if seed:
          tf.random.set_seed(seed)
      return tf.random.shuffle(x, seed=seed)
  
file_path: ivy/ivy/functional/backends/tensorflow/random.py
imports: from typing import Optional, Union, Sequence
  import tensorflow
  from tensorflow.python.framework.dtypes import DType
  import ivy
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ivy.functional.ivy.random import _check_bounds_and_get_shape, _randint_check_dtype_and_bound, _check_valid_scale
  from .None import backend_version
label_desc: Use image node_id 6 for calling a global function with example usage: shuffle() and returns: tf