From 9e65298d7a320af0fa1e8d78b4f174f5c6b00a79 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Mon, 6 Apr 2020 20:13:34 -0700 Subject: [PATCH] Re-enable tests (#3437) Re-enable some tests that was recently fixed. --- onnxruntime/test/onnx/main.cc | 4 --- .../test/python/onnx_backend_test_series.py | 26 ------------------- 2 files changed, 30 deletions(-) diff --git a/onnxruntime/test/onnx/main.cc b/onnxruntime/test/onnx/main.cc index cd0a3e2fdb..9d1b76969b 100644 --- a/onnxruntime/test/onnx/main.cc +++ b/onnxruntime/test/onnx/main.cc @@ -503,10 +503,6 @@ int real_main(int argc, char* argv[], Ort::Env& env) { broken_tests.insert({"tf_mobilenet_v2_1.4_224", "Results mismatch"}); broken_tests.insert({"convtranspose_1d", "1d convtranspose not supported yet"}); } - if (enable_nuphar) { - broken_tests.insert({"cgan", "TVM exception during initialization"}); - broken_tests.insert({"negative_log_likelihood_loss_input_shape_is_NCd1d2_with_weight_reduction_sum_ignore_index_expanded", "TVM exception during initialization"}); - } if (enable_dnnl) { broken_tests.insert({"tf_mobilenet_v2_1.0_224", "result mismatch"}); broken_tests.insert({"tf_mobilenet_v2_1.4_224", "result mismatch"}); diff --git a/onnxruntime/test/python/onnx_backend_test_series.py b/onnxruntime/test/python/onnx_backend_test_series.py index 06f0f0e0b3..fb1eafca2c 100644 --- a/onnxruntime/test/python/onnx_backend_test_series.py +++ b/onnxruntime/test/python/onnx_backend_test_series.py @@ -92,17 +92,6 @@ def create_backend_test(testname=None): '^test_batchnorm_example_old_cpu', '^test_batchnorm_example_training_mode_cpu', '^test_celu_cpu', - '^test_clip_cpu', - '^test_clip_default_inbounds_cpu', - '^test_clip_default_int8_inbounds_cpu', - '^test_clip_default_int8_max_cpu', - '^test_clip_default_int8_min_cpu', - '^test_clip_default_max_cpu', - '^test_clip_default_min_cpu', - '^test_clip_example_cpu', - '^test_clip_inbounds_cpu', - '^test_clip_outbounds_cpu', - '^test_clip_splitbounds_cpu', '^test_dropout_default_cpu', '^test_dropout_random_cpu', '^test_einsum_batch_diagonal_cpu', @@ -113,16 +102,9 @@ def create_backend_test(testname=None): '^test_gathernd_example_int32_batch_dim1_cpu', '^test_inverse_batched_cpu', '^test_inverse_cpu', - '^test_max_float16_cpu', - '^test_max_float32_cpu', - '^test_max_float64_cpu', '^test_max_int16_cpu', - '^test_max_int32_cpu', - '^test_max_int64_cpu', '^test_max_int8_cpu', '^test_max_uint16_cpu', - '^test_max_uint32_cpu', - '^test_max_uint64_cpu', '^test_max_uint8_cpu', '^test_mean_square_distance_mean_3d_cpu', '^test_mean_square_distance_mean_3d_expanded_cpu', @@ -136,16 +118,9 @@ def create_backend_test(testname=None): '^test_mean_square_distance_none_weights_expanded_cpu', '^test_mean_square_distance_sum_cpu', '^test_mean_square_distance_sum_expanded_cpu', - '^test_min_float16_cpu', - '^test_min_float32_cpu', - '^test_min_float64_cpu', '^test_min_int16_cpu', - '^test_min_int32_cpu', - '^test_min_int64_cpu', '^test_min_int8_cpu', '^test_min_uint16_cpu', - '^test_min_uint32_cpu', - '^test_min_uint64_cpu', '^test_min_uint8_cpu', '^test_momentum_cpu', '^test_momentum_multiple_cpu', @@ -191,7 +166,6 @@ def create_backend_test(testname=None): '^test_unfoldtodepth_without_padding_cpu', '^test_gradient_of_add_and_mul_cpu', '^test_gradient_of_add_cpu', - '^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_with_weight_reduction_sum_ignore_index_expanded_cpu', '^test_batchnorm_example_training_mode_cpu', '^test_batchnorm_epsilon_training_mode_cpu', '^test_maxunpool_export_with_output_shape_cpu', #result mismatch