From dc0ae39a6afdcce3d312647ee70f221f57b98993 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Thu, 15 Oct 2026 03:14:52 -0700 Subject: [PATCH] Insert type error suppressions necessary for Pyrefly PiperOrigin-RevId: 1000011267 --- examples/image_augmentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/image_augmentation.py b/examples/image_augmentation.py index ea9fc86..1b73779 100644 --- a/examples/image_augmentation.py +++ b/examples/image_augmentation.py @@ -76,7 +76,7 @@ def _get_image(): def _imshow(image: jnp.ndarray) -> None: """Showes the input image using PIL/Pillow backend.""" - image = pil.fromarray(np.asarray(image * 255.).astype(np.uint8), "RGB") + image = pil.fromarray(np.asarray(image * 255.).astype(np.uint8), "RGB") # pyrefly: ignore[bad-assignment] image.show() # pyrefly: ignore[missing-attribute]