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

Description Usage Arguments Author(s) References

Description

It crops along the time dimension (axis 1).

Usage

1
2
3
4
5
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.


YTLogos/kerasR documentation built on May 19, 2019, 4:04 p.m.