From 1d63277a0d327655dc562ffcbdecd8b3a2a67694 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 5 Aug 2024 04:06:28 +0900 Subject: [PATCH] chore: update resizing.py ouput -> output --- Note/nn/layer/image_preprocessing/resizing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Note/nn/layer/image_preprocessing/resizing.py b/Note/nn/layer/image_preprocessing/resizing.py index 3291d4087..208f75428 100644 --- a/Note/nn/layer/image_preprocessing/resizing.py +++ b/Note/nn/layer/image_preprocessing/resizing.py @@ -75,7 +75,7 @@ def __init__( def __call__(self, data): # tf.image.resize will always output float32 # and operate more efficiently on float32 - # unless interpolation is nearest, in which case ouput type matches + # unless interpolation is nearest, in which case output type matches # input type. if self.interpolation == "nearest": input_dtype = data.dtype @@ -102,4 +102,4 @@ def resize_to_aspect(x): else: outputs = tf.image.resize(data, size=size, method=self.method) - return tf.cast(outputs, data.dtype) \ No newline at end of file + return tf.cast(outputs, data.dtype)