We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75eb94 commit c3a2b8bCopy full SHA for c3a2b8b
keras_hub/src/layers/preprocessing/image_converter_test.py
@@ -1,7 +1,6 @@
1
import os
2
import pathlib
3
4
-import keras
5
import numpy as np
6
import pytest
7
import tensorflow as tf
@@ -62,10 +61,6 @@ def test_dtypes(self):
62
61
(True, False),
63
(False, True),
64
)
65
- @pytest.mark.skipif(
66
- keras.config.backend() == "torch",
67
- reason="disabled until resize is fixed for torch backend",
68
- ) # TODO: remove skip after new release with fix of https://github.com/keras-team/keras/pull/20797
69
def test_resize_batch(self, crop_to_aspect_ratio, pad_to_aspect_ratio):
70
converter = ImageConverter(
71
image_size=(4, 4),
0 commit comments