Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
divyashreepathihalli committed Oct 17, 2024
1 parent 2cdbfc2 commit 5457829
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions keras_hub/src/layers/preprocessing/image_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,9 @@ def image_size(self, value):
def call(self, inputs):
x = inputs
if self.image_size is not None:
x = self.resizing(x)
x = self.resizing(inputs)
if self.scale is not None:
x = ops.cast(x, self.dtype) * self._expand_non_channel_dims(
self.scale, x
)
x = x * self._expand_non_channel_dims(self.scale, x)
if self.offset is not None:
x = x + self._expand_non_channel_dims(self.offset, x)
return x
Expand Down

0 comments on commit 5457829

Please sign in to comment.