We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7bbb8 commit c7b66fcCopy full SHA for c7b66fc
keras/src/layers/pooling/average_pooling2d.py
@@ -17,7 +17,7 @@ class AveragePooling2D(BasePooling):
17
(when `input_shape >= pool_size`)
18
19
The resulting output shape when using the `"same"` padding option is:
20
- `output_shape = math.floor((input_shape - 1) / strides) + 1`
+ `output_shape = input_shape`
21
22
Args:
23
pool_size: int or tuple of 2 integers, factors by which to downscale
0 commit comments