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)