Skip to content

Commit c6590e8

Browse files
committed
restore case
1 parent 3ced546 commit c6590e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_backend.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _run_test_case(self, output_names_with_port, feed_dict, **kwargs):
107107
kwargs["convert_var_to_const"] = False
108108
kwargs["constant_fold"] = False
109109
return self.run_test_case(feed_dict, [], output_names_with_port, **kwargs)
110-
'''
110+
111111
def _test_expand_dims_known_rank(self, idx):
112112
tf.reset_default_graph()
113113
x_val = make_xval([3, 4])
@@ -421,7 +421,7 @@ def test_conv2d_transpose2(self):
421421
conv = tf.nn.conv2d_transpose(x, f, output_shape_placeholder, strides=strides, padding="VALID")
422422
_ = tf.identity(conv, name=_TFOUTPUT)
423423
self._run_test_case([_OUTPUT], {_INPUT: x_val, _INPUT1: output_shape}, rtol=1e-05, process_args=process_args)
424-
'''
424+
425425
def test_depthwiseconv_0(self):
426426
x_shape = [1, 3, 4, 3]
427427
kernel_shape = [3, 3, 3, 3]
@@ -443,7 +443,7 @@ def test_depthwiseconv_1(self):
443443
conv = tf.nn.depthwise_conv2d(x, kernel, strides=_STRIDE1x1, padding='VALID')
444444
_ = tf.identity(conv, name=_TFOUTPUT)
445445
self._run_test_case([_OUTPUT], {_INPUT: x_val}, rtol=1e-6)
446-
'''
446+
447447
def test_dropout(self):
448448
is_training = tf.placeholder_with_default(False, (), "is_training")
449449
x_val = np.ones([1, 24, 24, 3], dtype=np.float32)
@@ -2830,7 +2830,7 @@ def test_unique(self):
28302830
# FIXME: indices in onnx are not the same as in tensorflow so don't check for now
28312831
#self._run_test_case([_OUTPUT, _OUTPUT1], {_INPUT: x_val})
28322832
self._run_test_case([_OUTPUT], {_INPUT: x_val})
2833-
'''
2833+
28342834

28352835
if __name__ == '__main__':
28362836
unittest_main()

0 commit comments

Comments
 (0)