layers.MaxPooling1D
@tf_export(v1=['layers.MaxPooling1D'])
class MaxPooling1D(keras_layers.MaxPooling1D, base.Layer):
"""Max Pooling layer for 1D inputs.
用于1维输入的MaxPooling层。
Arguments:
pool_size: An integer or tuple/list of a single integer,
representing the size of the pooling window.
pool_size:int,表示pooling window的大小。
strides: An integer or tuple/list of a single integer, specifying the
strides of the pooling operation.
strides:int,指定pooling操作的步长。
padding: A string. The padding method, either 'valid' or 'same'.
Case-insensitive.
padding:string,valid或same,大小写不敏感。
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, length, channels)` while `channels_first` corresponds to
inputs with shape `(batch, channels, length)`.
date_format:string,channels_last(默认)或channels_first。inputs输入的维度。channels_last表示inputs的形状是(batch, length, channels);channels_first表示inputs的形状是(batch, channels, length)。
name: A string, the name of the layer.
"""
找我内推: 字节跳动各种岗位
作者:
ZH奶酪(张贺)
邮箱:
cheesezh@qq.com
出处:
http://www.cnblogs.com/CheeseZH/
*
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。