From 49690e53660b2200560237d96fa37d4600bcc6de Mon Sep 17 00:00:00 2001 From: Jinliang Wei Date: Wed, 1 Apr 2020 09:19:45 -0700 Subject: [PATCH] Correct forward_compatibility behavior. PiperOrigin-RevId: 304199164 Change-Id: I25b21a7b3f1f82bdd23b56eed0cd451f05897907 --- tensorflow/python/ops/image_ops_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/ops/image_ops_impl.py b/tensorflow/python/ops/image_ops_impl.py index 85670182a87..26d08ca6166 100644 --- a/tensorflow/python/ops/image_ops_impl.py +++ b/tensorflow/python/ops/image_ops_impl.py @@ -4506,7 +4506,7 @@ def non_max_suppression_padded(boxes, # version to give us time to fix TFLite conversion if (not sorted_input) and \ (not canonicalized_coordinates) and \ - tile_size == 512 and compat.forward_compatible(2020, 4, 20): + tile_size == 512 and not compat.forward_compatible(2020, 4, 20): return non_max_suppression_padded_v1( boxes, scores, max_output_size, iou_threshold, score_threshold, pad_to_max_output_size, name)