class_docstr: A subclass of :tf_main:`tf.layers.Layer <layers/Layer>`.
  Max Pooling layer for 1D inputs. The same as
  :tf_main:`MaxPooling1D <layers/MaxPooling1D>` except that the pooling
  dimension is entirely reduced (i.e., `pool_size=input_length`).
class_docstr_tok: ["A","subclass","of",":","tf_main",":","`","tf.layers.Layer","<","layers\/Layer",">","`",".","Max","Pooling","layer","for","1D","inputs",".","The","same","as",":","tf_main",":","`","MaxPooling1D","<","layers\/MaxPooling1D",">","`","except","that","the","pooling","dimension","is","entirely","reduced","(","i.e.",",","`","pool_size=input_length","`",")","."]
code: def __init__(self, data_format="channels_last", name=None, **kwargs):
      super(MaxReducePooling1D, self).__init__(
          tf.reduce_max, data_format=data_format, name=name, **kwargs
      )
  
imports: import copy
  import tensorflow
  import tensorflow.contrib.rnn
  from texar.tf.hyperparams import HParams
  from texar.tf.utils import utils
  from texar.tf.utils.dtypes import is_str
  from texar.tf.utils.variables import add_variable
  from texar.tf.utils.mode import is_train_mode, switch_dropout
label_desc: Use image node_id 1 to create a new MaxReducePooling1D object from inherited base classes: _ReducePooling1D with example: obj = MaxReducePooling1D(data_format, name)