We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b74e4e1 commit f5400e9Copy full SHA for f5400e9
tests/test_backend.py
@@ -82,7 +82,8 @@
82
quantize_and_dequantize = tf.compat.v1.quantization.quantize_and_dequantize
83
resize_nearest_neighbor = tf.compat.v1.image.resize_nearest_neighbor
84
resize_bilinear = tf.compat.v1.image.resize_bilinear
85
- resize_bilinear_v2 = tf.compat.v2.image.resize
+ if LooseVersion(tf.__version__) >= "1.14":
86
+ resize_bilinear_v2 = tf.compat.v2.image.resize
87
is_nan = tf.math.is_nan
88
is_inf = tf.math.is_inf
89
floormod = tf.floormod
0 commit comments