Learn R Programming

kerasR (version 0.4.1)

GlobalPooling: Global pooling operations

Description

Global pooling operations

Usage

GlobalMaxPooling1D(input_shape = NULL)

GlobalAveragePooling1D(input_shape = NULL)

GlobalMaxPooling2D(data_format = NULL, input_shape = NULL)

GlobalAveragePooling2D(data_format = NULL, input_shape = NULL)

Arguments

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

References

Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.