Skip to content

Commit

Permalink
Fix typo in documentation. (#20262)
Browse files Browse the repository at this point in the history
I've found a typo in the documentation for the extract_patches function. It said (patches_height, patches_widht) instead of (patches_height, patches_width).
  • Loading branch information
himalayo authored Sep 16, 2024
1 parent db456b7 commit e94e0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/src/ops/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def extract_patches(
Args:
images: Input image or batch of images. Must be 3D or 4D.
size: Patch size int or tuple (patch_height, patch_widht)
size: Patch size int or tuple (patch_height, patch_width)
strides: strides along height and width. If not specified, or
if `None`, it defaults to the same value as `size`.
dilation_rate: This is the input stride, specifying how far two
Expand Down

0 comments on commit e94e0ba

Please sign in to comment.