if "TRAVIS" in os.environ:
backend_test.exclude("test_vgg19")
if legacy_onnx_pre_1_2():
// These following tests fails by a tiny margin with onnx<1.2:
backend_test.exclude("test_operator_add_broadcast_cpu")
backend_test.exclude("test_operator_add_size1_broadcast_cpu")
After Change
if "TRAVIS" in os.environ:
backend_test.exclude("test_vgg19")
if legacy_onnx_pre_ver(1, 2):
// These following tests fails by a tiny margin with onnx<1.2:
backend_test.exclude("test_operator_add_broadcast_cpu")
backend_test.exclude("test_operator_add_size1_broadcast_cpu")