class_docstr: Perform max pooling. Currently only support 1D and 2D.
  
  Parameters
  ----------
  x: tensor<[n,C_in,*D_in],T>  (Required)
      * See ``avg_pool``
  
  kernel_sizes: const tensor<[K],T> (Required)
      * See ``avg_pool``
  
  strides: const tensor<[S],i32> (Optional. Default to all 1s)
      * See ``avg_pool``
  
  pad_type: const str (Required)
      * See ``avg_pool``
  
  pad: const<[P],i32> (Optional. Default to all 0s)
      * See ``avg_pool``
  
  Returns
  -------
  tensor<[n, C_out,*D_out],T>
      * See ``avg_pool``
  
  Attributes
  ----------
  T: fp32
  
  See Also
  --------
  avg_pool, l2_pool
code: def __init__(self, **kwargs):
      super(max_pool, self).__init__(**kwargs)
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/ops/defs/pool.py
imports: from coremltools.converters.mil.mil.ops.defs._utils import spatial_dimensions_out_shape
  from ._op_reqs import *
label_desc: Use image node_id 1 to create a new max_pool object from inherited base classes: Pooling with example: obj = max_pool()