From 56aa9f364ae0f56c08f145b55bd1068a30e750d4 Mon Sep 17 00:00:00 2001 From: "Flynn, Michael D" Date: Thu, 22 Sep 2016 23:46:22 -0400 Subject: [PATCH] Add cropping layers to documentation (#3853) * Correct documentation for Cropping3D layer * Add Cropping layers to documentation --- docs/autogen.py | 3 +++ keras/layers/convolutional.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/autogen.py b/docs/autogen.py index 0f3be56bfb0..ca94081db07 100644 --- a/docs/autogen.py +++ b/docs/autogen.py @@ -158,6 +158,9 @@ convolutional.SeparableConvolution2D, convolutional.Deconvolution2D, convolutional.Convolution3D, + convolutional.Cropping1D, + convolutional.Cropping2D, + convolutional.Cropping3D, convolutional.UpSampling1D, convolutional.UpSampling2D, convolutional.UpSampling3D, diff --git a/keras/layers/convolutional.py b/keras/layers/convolutional.py index 59816bc6315..b57acdf0ae7 100644 --- a/keras/layers/convolutional.py +++ b/keras/layers/convolutional.py @@ -1674,7 +1674,7 @@ def get_config(self): return dict(list(base_config.items()) + list(config.items())) class Cropping3D(Layer): - '''Cropping layer for 2D input (e.g. picture). + '''Cropping layer for 3D data (e.g. spatial or saptio-temporal). # Arguments cropping: tuple of tuple of int (length 3)