Skip to content

Commit 7af02c3

Browse files
georgwiesefchollet
authored andcommitted
Fix Cropping3D documentation (keras-team#7683)
* Fix Cropping3D documentation * Fix order of "depth, height, and width"
1 parent 9772b11 commit 7af02c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

keras/layers/convolutional.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,14 +1903,14 @@ class Cropping3D(Layer):
19031903
"""Cropping layer for 3D data (e.g. spatial or spatio-temporal).
19041904
19051905
# Arguments
1906-
cropping: int, or tuple of 2 ints, or tuple of 2 tuples of 2 ints.
1906+
cropping: int, or tuple of 3 ints, or tuple of 3 tuples of 2 ints.
19071907
- If int: the same symmetric cropping
1908-
is applied to width and height.
1909-
- If tuple of 2 ints:
1908+
is applied to depth, height, and width.
1909+
- If tuple of 3 ints:
19101910
interpreted as two different
1911-
symmetric cropping values for height and width:
1911+
symmetric cropping values for depth, height, and width:
19121912
`(symmetric_dim1_crop, symmetric_dim2_crop, symmetric_dim3_crop)`.
1913-
- If tuple of 2 tuples of 2 ints:
1913+
- If tuple of 3 tuples of 2 ints:
19141914
interpreted as
19151915
`((left_dim1_crop, right_dim1_crop), (left_dim2_crop, right_dim2_crop), (left_dim3_crop, right_dim3_crop))`
19161916
data_format: A string,

0 commit comments

Comments
 (0)