code: def max_pool3d(
      input,
      kernel_size,
      stride=None,
      padding=0,
      dilation=1,
      ceil_mode=False,
      return_indices=False,
  ):
      # ToDo: Add return_indices once superset in implemented
  
      if not stride:
          stride = kernel_size
  
      data_format = "NCDHW"
  
      return ivy.max_pool3d(
          input,
          kernel_size,
          stride,
          padding,
          data_format=data_format,
          dilation=dilation,
          ceil_mode=ceil_mode,
      )
  
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.ivy.experimental.layers import _broadcast_pooling_helper
label_desc: Use image node_id 17 for calling a global function with example usage: max_pool3d(input, kernel_size, stride, padding, dilation, ceil_mode, return_indices) and returns: ivy