参考:https://github.com/tensorflow/tensorflow/issues/9442
https://www.tensorflow.org/versions/r1.5/api_docs/python/tf/layers/MaxPooling1D