Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update pooling.py
Added Integer at the `pool_size` of `MaxPooling3D`
  • Loading branch information
Naruu authored Oct 19, 2019
commit a7ed2a8be72d84968403e436b81b667df58b8105
4 changes: 2 additions & 2 deletions keras/layers/pooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class AveragePooling2D(_Pooling2D):
"""Average pooling operation for spatial data.

# Arguments
pool_size: integer or tuple of 2 integers,
pool_size: Integer or tuple of 2 integers,
factors by which to downscale (vertical, horizontal).
(2, 2) will halve the input in both spatial dimension.
If only one integer is specified, the same window length
Expand Down Expand Up @@ -387,7 +387,7 @@ class MaxPooling3D(_Pooling3D):
"""Max pooling operation for 3D data (spatial or spatio-temporal).

# Arguments
pool_size: tuple of 3 integers,
pool_size: Integer or tuple of 3 integers,
factors by which to downscale (dim1, dim2, dim3).
(2, 2, 2) will halve the size of the 3D input in each dimension.
strides: tuple of 3 integers, or None. Strides values.
Expand Down