@@ -107,7 +107,7 @@ def _run_test_case(self, output_names_with_port, feed_dict, **kwargs):
107
107
kwargs ["convert_var_to_const" ] = False
108
108
kwargs ["constant_fold" ] = False
109
109
return self .run_test_case (feed_dict , [], output_names_with_port , ** kwargs )
110
- '''
110
+
111
111
def _test_expand_dims_known_rank (self , idx ):
112
112
tf .reset_default_graph ()
113
113
x_val = make_xval ([3 , 4 ])
@@ -421,7 +421,7 @@ def test_conv2d_transpose2(self):
421
421
conv = tf .nn .conv2d_transpose (x , f , output_shape_placeholder , strides = strides , padding = "VALID" )
422
422
_ = tf .identity (conv , name = _TFOUTPUT )
423
423
self ._run_test_case ([_OUTPUT ], {_INPUT : x_val , _INPUT1 : output_shape }, rtol = 1e-05 , process_args = process_args )
424
- '''
424
+
425
425
def test_depthwiseconv_0 (self ):
426
426
x_shape = [1 , 3 , 4 , 3 ]
427
427
kernel_shape = [3 , 3 , 3 , 3 ]
@@ -443,7 +443,7 @@ def test_depthwiseconv_1(self):
443
443
conv = tf .nn .depthwise_conv2d (x , kernel , strides = _STRIDE1x1 , padding = 'VALID' )
444
444
_ = tf .identity (conv , name = _TFOUTPUT )
445
445
self ._run_test_case ([_OUTPUT ], {_INPUT : x_val }, rtol = 1e-6 )
446
- '''
446
+
447
447
def test_dropout (self ):
448
448
is_training = tf .placeholder_with_default (False , (), "is_training" )
449
449
x_val = np .ones ([1 , 24 , 24 , 3 ], dtype = np .float32 )
@@ -2830,7 +2830,7 @@ def test_unique(self):
2830
2830
# FIXME: indices in onnx are not the same as in tensorflow so don't check for now
2831
2831
#self._run_test_case([_OUTPUT, _OUTPUT1], {_INPUT: x_val})
2832
2832
self ._run_test_case ([_OUTPUT ], {_INPUT : x_val })
2833
- '''
2833
+
2834
2834
2835
2835
if __name__ == '__main__' :
2836
2836
unittest_main ()
0 commit comments