docstr: Compute a 3-D max pool given 5-D input x.
  
  Parameters
  ----------
  self
      Input volume *[batch_size,d,h,w,d_in]*.
  kernel
      Convolution filters *[d,h,w]*.
  strides
      The stride of the sliding window for each dimension of input.
  padding
      "SAME" or "VALID" indicating the algorithm, or list indicating
      the per-dimension paddings.
  data_format
      NDHWC" or "NCDHW". Defaults to "NDHWC".
  dilaton
      The stride between elements within a sliding window, must be > 0.
  ceil_mode
      If True, ceil is used instead of floor to compute the output shape.
      This ensures that every element is covered by a sliding window.
  out
      optional output array, for writing the result to. It must have
      a shape that the inputs broadcast to.
  
  Returns
  -------
  ret
      The result of the pooling operation.
  
  Examples
  --------
  >>> x = ivy.arange(48.).reshape((2, 3, 2, 2, 2))
  >>> print(x.max_pool3d(2, 2, 'VALID'))
  ivy.array([[[[[14., 15.]]]],
     [[[[38., 39.]]]]])
  >>> print(x.max_pool3d(2, 2, 'SAME'))
  ivy.array([[[[[14., 15.]]],
      [[[22., 23.]]]],
     [[[[38., 39.]]],
      [[[46., 47.]]]]])
docstr_tok: ["Compute","a","3-D","max","pool","given","5-D","input","x.","Parameters","--","--","--","--","--","self","Input","volume","*","[","batch_size",",","d",",","h",",","w",",","d_in","]","*",".","kernel","Convolution","filters","*","[","d",",","h",",","w","]","*",".","strides","The","stride","of","the","sliding","window","for","each","dimension","of","input",".","padding","``","SAME","''","or","``","VALID","''","indicating","the","algorithm",",","or","list","indicating","the","per-dimension","paddings",".","data_format","NDHWC","''","or","``","NCDHW","''",".","Defaults","to","``","NDHWC","''",".","dilaton","The","stride","between","elements","within","a","sliding","window",",","must","be",">","0.","ceil_mode","If","True",",","ceil","is","used","instead","of","floor","to","compute","the","output","shape",".","This","ensures","that","every","element","is","covered","by","a","sliding","window",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","The","result","of","the","pooling","operation",".","Examples","--","--","--","--",">",">",">","x","=","ivy.arange","(","48",".",")",".reshape","(","(","2",",","3",",","2",",","2",",","2",")",")",">",">",">","print","(","x.max_pool3d","(","2",",","2",",","'VALID","'",")",")","ivy.array","(","[","[","[","[","[","14.",",","15",".","]","]","]","]",",","[","[","[","[","38.",",","39",".","]","]","]","]","]",")",">",">",">","print","(","x.max_pool3d","(","2",",","2",",","'SAME","'",")",")","ivy.array","(","[","[","[","[","[","14.",",","15",".","]","]","]",",","[","[","[","22.",",","23",".","]","]","]","]",",","[","[","[","[","38.",",","39",".","]","]","]",",","[","[","[","46.",",","47",".","]","]","]","]","]",")"]
code: def max_pool3d(
      self: ivy.Array,
      kernel: Union[int, Tuple[int, ...]],
      strides: Union[int, Tuple[int, ...]],
      padding: Union[str, int, Tuple[int], List[Tuple[int, int]]],
      /,
      *,
      data_format: str = "NDHWC",
      dilation: Union[int, Tuple[int, ...]] = 1,
      ceil_mode: bool = False,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Compute a 3-D max pool given 5-D input x.
  
      Parameters
      ----------
      self
          Input volume *[batch_size,d,h,w,d_in]*.
      kernel
          Convolution filters *[d,h,w]*.
      strides
          The stride of the sliding window for each dimension of input.
      padding
          "SAME" or "VALID" indicating the algorithm, or list indicating
          the per-dimension paddings.
      data_format
          NDHWC" or "NCDHW". Defaults to "NDHWC".
      dilaton
          The stride between elements within a sliding window, must be > 0.
      ceil_mode
          If True, ceil is used instead of floor to compute the output shape.
          This ensures that every element is covered by a sliding window.
      out
          optional output array, for writing the result to. It must have
          a shape that the inputs broadcast to.
  
      Returns
      -------
      ret
          The result of the pooling operation.
  
      Examples
      --------
      >>> x = ivy.arange(48.).reshape((2, 3, 2, 2, 2))
      >>> print(x.max_pool3d(2, 2, 'VALID'))
      ivy.array([[[[[14., 15.]]]],
         [[[[38., 39.]]]]])
      >>> print(x.max_pool3d(2, 2, 'SAME'))
      ivy.array([[[[[14., 15.]]],
          [[[22., 23.]]]],
         [[[[38., 39.]]],
          [[[46., 47.]]]]])
      """
      return ivy.max_pool3d(
          self,
          kernel,
          strides,
          padding,
          data_format=data_format,
          dilation=dilation,
          ceil_mode=ceil_mode,
          out=out,
      )
  
imports: import abc
  from typing import Optional, Union, Tuple, List, Literal, Sequence, Callable
  import ivy
label_desc: Use image node_id 3 for calling the _ArrayWithLayersExperimental obj's underlying member method code with example usage: obj.max_pool3d() and returns: ivy