From 9fbf36b9bd57f2fb8f4c93192106fd60e8c4e605 Mon Sep 17 00:00:00 2001 From: Sachin Prasad Date: Fri, 12 Jan 2024 15:18:56 -0800 Subject: [PATCH] Update random_crop_and_zoom.py (#2294) * Update random_crop_and_zoom.py * Update description * rename file --- ...random_crop_and_zoom.py => random_crop_and_resize_demo.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename examples/layers/preprocessing/classification/{random_crop_and_zoom.py => random_crop_and_resize_demo.py} (90%) diff --git a/examples/layers/preprocessing/classification/random_crop_and_zoom.py b/examples/layers/preprocessing/classification/random_crop_and_resize_demo.py similarity index 90% rename from examples/layers/preprocessing/classification/random_crop_and_zoom.py rename to examples/layers/preprocessing/classification/random_crop_and_resize_demo.py index 3fe8aa1e00..cb8f9e5ffe 100644 --- a/examples/layers/preprocessing/classification/random_crop_and_zoom.py +++ b/examples/layers/preprocessing/classification/random_crop_and_resize_demo.py @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""random_resized_crop_demo.py.py shows how to use the RandomResizedCrop -preprocessing layer. Operates on an image of elephant. In this script the image +"""This demo example shows how to use the RandomCropAndResize preprocessing +layer. Operates on an image of elephant. In this script the image is loaded, then are passed through the preprocessing layers. Finally, they are shown using matplotlib. """