Skip to content

Commit 2c95bfe

Browse files
committed
Fix torch GPU CI
1 parent 5b29974 commit 2c95bfe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

keras/src/layers/preprocessing/image_preprocessing/random_shear_test.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ def test_random_shear_tf_data_bounding_boxes(
183183
)
184184

185185
transformation = {
186-
"shear_factor": backend_utils.convert_tf_tensor(
187-
np.array(translation)
188-
),
186+
"shear_factor": np.array(translation),
189187
"input_shape": image_shape,
190188
}
191189

0 commit comments

Comments
 (0)