首页 > 其他 > 详细

layers.MaxPooling1D

时间:2020-07-31 18:39:50      阅读:108      评论:0      收藏:0      [点我收藏+]
@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.
  """

layers.MaxPooling1D

原文:https://www.cnblogs.com/CheeseZH/p/13411117.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!