Skip to content

Commit

Permalink
change resizing test
Browse files Browse the repository at this point in the history
  • Loading branch information
divyashreepathihalli committed Nov 19, 2023
1 parent 7ab306a commit 0d8a432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_cv/layers/preprocessing/resizing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _run_output_shape_test(self, kwargs, height, width):
kwargs.update({"height": height, "width": width})
layer = cv_layers.Resizing(**kwargs)

inputs = tf.random.uniform((2, 5, 8, 3))
inputs = np.random.uniform((2, 5, 8, 3))
outputs = layer(inputs)
self.assertEqual(outputs.shape, (2, height, width, 3))

Expand Down

0 comments on commit 0d8a432

Please sign in to comment.