From c1797e7e432a443e36f5213c14ebb4d695ae070f Mon Sep 17 00:00:00 2001 From: Martin Wicke Date: Sun, 3 Mar 2019 19:41:29 -0800 Subject: [PATCH] Disable PoolingTest.testMaxPoolGrad_maxpool5 in v2. PiperOrigin-RevId: 236579691 --- tensorflow/python/kernel_tests/pooling_ops_test.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tensorflow/python/kernel_tests/pooling_ops_test.py b/tensorflow/python/kernel_tests/pooling_ops_test.py index 88c14393610..c80abf7e43a 100644 --- a/tensorflow/python/kernel_tests/pooling_ops_test.py +++ b/tensorflow/python/kernel_tests/pooling_ops_test.py @@ -1907,10 +1907,11 @@ if __name__ == "__main__": if name_ == "maxpool5": setattr( PoolingTest, "testMaxPoolGrad_" + name_, - test_util.disable_xla( - "b/123926014: incorrect output with only constants")( - GetMaxPoolGradTest(input_size_, filter_size_, output_size_, - stride_, padding_))) + test_util.run_deprecated_v1( + test_util.disable_xla( + "b/123926014: incorrect output with only constants")( + GetMaxPoolGradTest(input_size_, filter_size_, + output_size_, stride_, padding_)))) else: setattr( PoolingTest, "testMaxPoolGrad_" + name_,