Reshape: Reshapes an output to a certain shape.

View source: R/layers.core.R

ReshapeR Documentation

Reshapes an output to a certain shape.

Description

Reshapes an output to a certain shape.

Usage

Reshape(target_shape, input_shape = NULL)

Arguments

target_shape

target shape. Tuple of integers, does not include the samples dimension (batch size).

input_shape

only need when first layer of a model; sets the input shape of the data

Author(s)

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

References

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

See Also

Other layers: Activation, ActivityRegularization, AdvancedActivation, BatchNormalization, Conv, Dense, Dropout, Embedding, Flatten, GaussianNoise, LayerWrapper, LocallyConnected, Masking, MaxPooling, Permute, RNN, RepeatVector, Sequential


kerasR documentation built on Aug. 17, 2022, 5:06 p.m.