Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jan 15, 2024
1 parent 23d5eeb commit c4dd4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/ops/operation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def compute_pooling_output_shape(
output_spatial_shape = np.floor((spatial_shape - 1) / strides) + 1
else:
raise ValueError(
"`padding` must be either `'valid'` or `'same'`. Received "
f"{padding}."
"Argument `padding` must be either 'valid' or 'same'. Received: "
f"padding={padding}"
)
output_spatial_shape = [int(i) for i in output_spatial_shape]
for i in none_dims:
Expand Down

0 comments on commit c4dd4fa

Please sign in to comment.