Skip to content

Commit

Permalink
Add cropping layers to documentation (keras-team#3853)
Browse files Browse the repository at this point in the history
* Correct documentation for Cropping3D layer

* Add Cropping layers to documentation
  • Loading branch information
somewacko authored and fchollet committed Sep 23, 2016
1 parent f0d9867 commit 56aa9f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@
convolutional.SeparableConvolution2D,
convolutional.Deconvolution2D,
convolutional.Convolution3D,
convolutional.Cropping1D,
convolutional.Cropping2D,
convolutional.Cropping3D,
convolutional.UpSampling1D,
convolutional.UpSampling2D,
convolutional.UpSampling3D,
Expand Down
2 changes: 1 addition & 1 deletion keras/layers/convolutional.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 56aa9f3

Please sign in to comment.