Permute: Permutes the dimensions of the input according to a given...

View source: R/layers.core.R

PermuteR Documentation

Permutes the dimensions of the input according to a given pattern.

Description

Permutes the dimensions of the input according to a given pattern.

Usage

Permute(dims, input_shape = NULL)

Arguments

dims

vector of integers. Permutation pattern, does not include the samples dimension. Indexing starts at 1.

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, RNN, RepeatVector, Reshape, Sequential


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