Skip to content

Commit 472d47d

Browse files
disable unittest due to onnxruntime bug
1 parent d9e18e4 commit 472d47d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_loops.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import numpy as np
1212
import tensorflow as tf
13+
import unittest
1314

1415
from backend_test_base import Tf2OnnxBackendTestBase
1516
from common import unittest_main, check_tf_min_version
@@ -160,6 +161,9 @@ def b(i, out_ta):
160161
output_names_with_port = ["i:0", "output_ta:0"]
161162
self.run_test_case(feed_dict, input_names_with_port, output_names_with_port, rtol=1e-06)
162163

164+
@unittest.skip(
165+
"disable this case due to onnxruntime loop issue: https://github.com/microsoft/onnxruntime/issues/1272"
166+
)
163167
def test_while_loop_with_cond_init_false(self):
164168
i = tf.placeholder(tf.int32, (), name="input_1")
165169
inputs = tf.placeholder(tf.float32, (10,), name="input_2")

0 commit comments

Comments
 (0)