From 512001bb6df67c9b4177019f441a07a37ac0ce0b Mon Sep 17 00:00:00 2001 From: himalayo <46873233+himalayo@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:26:52 +0100 Subject: [PATCH] Fix typo in documentation. 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). --- keras/src/ops/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras/src/ops/image.py b/keras/src/ops/image.py index 8f79ce1c3cd..ee397cbb666 100644 --- a/keras/src/ops/image.py +++ b/keras/src/ops/image.py @@ -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