Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

AveragePooling

Average pooling operation


Description

Average pooling operation

Usage

AveragePooling1D(pool_size = 2, strides = NULL, padding = "valid",
  input_shape = NULL)

AveragePooling2D(pool_size = c(2, 2), strides = NULL, padding = "valid",
  data_format = NULL, input_shape = NULL)

AveragePooling3D(pool_size = c(2, 2, 2), strides = NULL,
  padding = "valid", data_format = NULL, input_shape = NULL)

Arguments

pool_size

Integer or pair of integers; size(s) of the max pooling windows.

strides

Integer, pair of integers, or None. Factor(s) by which to downscale. E.g. 2 will halve the input. If NULL, it will default to pool_size.

padding

One of "valid" or "same" (case-insensitive).

input_shape

nD tensor with shape: (batch_size, ..., input_dim). The most common situation would be a 2D input with shape (batch_size, input_dim).

data_format

A string, one of channels_last (default) or channels_first

Author(s)

Taylor B. Arnold, taylor.arnold@acm.org

References


kerasR

R Interface to the Keras Deep Learning Library

v0.6.1
LGPL-2
Authors
Taylor Arnold [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.