Cropping: Cropping layers for 1D input (e.g. temporal sequence).

CroppingR Documentation

Cropping layers for 1D input (e.g. temporal sequence).

Description

It crops along the time dimension (axis 1).

Usage

Cropping1D(cropping = c(1, 1), input_shape = NULL)

Cropping2D(cropping = 0, data_format = NULL, input_shape = NULL)

Cropping3D(cropping = 0, data_format = NULL, input_shape = NULL)

Arguments

cropping

integer or pair of integers. How many units should be trimmed off at the beginning and end of the cropping dimension (axis 1). If a single value is provided, the same value will be used for both.

input_shape

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

data_format

A string, one of channels_last (default) or channels_first.

Author(s)

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

References

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


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