code: def dropout3d(
      x: paddle.Tensor,
      prob: float,
      /,
      *,
      training: bool = True,
      data_format: str = "NDHWC",
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      axis = data_format.index("C") - 5 + x.ndim
      return paddle.nn.functional.dropout(
          x, p=prob, axis=axis, training=training
      )
  
imports: from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
  import paddle
  from ivy.functional.ivy.layers import _handle_padding, _depth_max_pooling_helper, _validate_max_pool_params
  from ivy.utils.exceptions import IvyNotImplementedException, IvyValueError
  from ivy.func_wrapper import with_supported_device_and_dtypes, with_unsupported_dtypes, with_supported_dtypes
  from ..None import backend_version
  import ivy
label_desc: Use image node_id 12 for calling a global function with example usage: dropout3d() and returns: paddle