code: def stateless_dropout(
      x: ragged_tensor.Ragged,
      rate,
      seed,
      rng_alg=None,
      noise_shape=None,
      name=None,
  ):
      """Ragged dispatch target for tf.nn.experimental.stateless_dropout."""
      if noise_shape is not None:
          raise ValueError(
              "noise_shape is not supported yet for RaggedTensor x"
          )
      with ops.name_scope(name, "RaggedNNStatelessDropout", [x, rate]):
          x = ragged_tensor.convert_to_tensor_or_ragged_tensor(
              x, name="x"
          )
          return x.with_flat_values(
              nn_ops.stateless_dropout(
                  x.flat_values, rate=rate, seed=seed, rng_alg=rng_alg
              )
          )
  
imports: import functools
  import typing
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import check_ops
  from tensorflow.python.ops import gen_ragged_math_ops
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import segment_id_ops
  from tensorflow.python.util import dispatch
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 31 for calling a global function with example usage: stateless_dropout(x, rate, seed, rng_alg, noise_shape, name) and returns: x