Skip to content

Commit c7b66fc

Browse files
authored
Fix comment (#21340)
Let's fix comment in AveragePooling2D. Signed-off-by: Dayoung Lee <[email protected]>
1 parent ad7bbb8 commit c7b66fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/src/layers/pooling/average_pooling2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class AveragePooling2D(BasePooling):
1717
(when `input_shape >= pool_size`)
1818
1919
The resulting output shape when using the `"same"` padding option is:
20-
`output_shape = math.floor((input_shape - 1) / strides) + 1`
20+
`output_shape = input_shape`
2121
2222
Args:
2323
pool_size: int or tuple of 2 integers, factors by which to downscale

0 commit comments

Comments
 (0)