class_docstr: Max Pooling with adaptive kernel size.
  
  Args:
    output_size: An integer or tuple/list of 3 integers specifying (pooled_depth, pooled_height, pooled_width).
      The new size of output channels.
    data_format: A string,
      one of `channels_last` (default) or `channels_first`.
      The ordering of the dimensions in the inputs.
      `channels_last` corresponds to inputs with shape
      `(batch, height, width, channels)` while `channels_first`
      corresponds to inputs with shape `(batch, channels, height, width)`.
  
  Input shape:
    - If `data_format='channels_last'`:
      5D tensor with shape `(batch_size, spatial_dim1, spatial_dim2, spatial_dim3, channels)`.
    - If `data_format='channels_first'`:
      5D tensor with shape `(batch_size, channels, spatial_dim1, spatial_dim2, spatial_dim3)`.
  
  Output shape:
    - If `data_format='channels_last'`:
      5D tensor with shape `(batch_size, pooled_dim1, pooled_dim2, pooled_dim3, channels)`.
    - If `data_format='channels_first'`:
      5D tensor with shape `(batch_size, channels, pooled_dim1, pooled_dim2, pooled_dim3)`.
class_docstr_tok: ["Max","Pooling","with","adaptive","kernel","size",".","Args",":","output_size",":","An","integer","or","tuple\/list","of","3","integers","specifying","(","pooled_depth",",","pooled_height",",","pooled_width",")",".","The","new","size","of","output","channels",".","data_format",":","A","string",",","one","of","`","channels_last","`","(","default",")","or","`","channels_first","`",".","The","ordering","of","the","dimensions","in","the","inputs",".","`","channels_last","`","corresponds","to","inputs","with","shape","`","(","batch",",","height",",","width",",","channels",")","`","while","`","channels_first","`","corresponds","to","inputs","with","shape","`","(","batch",",","channels",",","height",",","width",")","`",".","Input","shape",":","-","If","`","data_format='channels_last","'","`",":","5D","tensor","with","shape","`","(","batch_size",",","spatial_dim1",",","spatial_dim2",",","spatial_dim3",",","channels",")","`",".","-","If","`","data_format='channels_first","'","`",":","5D","tensor","with","shape","`","(","batch_size",",","channels",",","spatial_dim1",",","spatial_dim2",",","spatial_dim3",")","`",".","Output","shape",":","-","If","`","data_format='channels_last","'","`",":","5D","tensor","with","shape","`","(","batch_size",",","pooled_dim1",",","pooled_dim2",",","pooled_dim3",",","channels",")","`",".","-","If","`","data_format='channels_first","'","`",":","5D","tensor","with","shape","`","(","batch_size",",","channels",",","pooled_dim1",",","pooled_dim2",",","pooled_dim3",")","`","."]
code: def __init__(
      self,
      output_size: Union[int, Iterable[int]],
      data_format=None,
      **kwargs,
  ):
      super().__init__(
          tf.reduce_max, output_size, data_format, **kwargs
      )
  
imports: import tensorflow
  import tensorflow_addons.utils.keras_utils
  from typeguard import typechecked
  from typing import Union, Callable, Iterable
label_desc: Use image node_id 1 to create a new AdaptiveMaxPooling3D object from inherited base classes: AdaptivePooling3D with example: obj = AdaptiveMaxPooling3D(output_size, data_format)