[CPU] Generic JIT Eltwise implementation (#1464)
This commit is contained in:
@@ -115,11 +115,6 @@ xfail_issue_38084 = xfail_test(reason="RuntimeError: AssertionFailed: layer->get
|
||||
xfail_issue_38085 = xfail_test(reason="RuntimeError: Interpolate operation should be converted to Interp")
|
||||
xfail_issue_38086 = xfail_test(reason="RuntimeError: Quantize layer input '<value>' doesn't have blobs")
|
||||
xfail_issue_38087 = xfail_test(reason="RuntimeError: Cannot cast to tensor desc. Format is unsupported!")
|
||||
xfail_issue_38088 = xfail_test(reason="RuntimeError: Check '((axis >= axis_range_min) && "
|
||||
"(axis <= axis_range_max))' failed at "
|
||||
"/openvino/ngraph/core/src/validation_util.cpp:913: "
|
||||
"Split Parameter axis <value> out of the tensor rank range <value>.")
|
||||
xfail_issue_38089 = xfail_test(reason="RuntimeError: Node 2 contains empty child edge for index 0")
|
||||
xfail_issue_38090 = xfail_test(reason="AssertionError: Items types are not equal")
|
||||
xfail_issue_38091 = xfail_test(reason="AssertionError: Mismatched elements")
|
||||
xfail_issue_38699 = xfail_test(reason="RuntimeError: nGraph does not support the following ONNX operations:"
|
||||
|
||||
@@ -22,7 +22,6 @@ from tests import (xfail_issue_34323,
|
||||
skip_segfault,
|
||||
xfail_issue_34327,
|
||||
xfail_issue_36485,
|
||||
xfail_issue_35923,
|
||||
xfail_issue_36486,
|
||||
xfail_issue_34314,
|
||||
xfail_issue_36487)
|
||||
@@ -418,7 +417,6 @@ def test_grn_operator():
|
||||
assert np.allclose(result, expected)
|
||||
|
||||
|
||||
@xfail_issue_35923
|
||||
def test_prelu_operator():
|
||||
runtime = get_runtime()
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ from tests import (BACKEND_NAME,
|
||||
xfail_issue_33616,
|
||||
xfail_issue_38086,
|
||||
xfail_issue_38087,
|
||||
xfail_issue_35923,
|
||||
xfail_issue_36483,
|
||||
xfail_issue_34323,
|
||||
xfail_issue_35915,
|
||||
@@ -46,8 +45,6 @@ from tests import (BACKEND_NAME,
|
||||
xfail_issue_36476,
|
||||
xfail_issue_36478,
|
||||
xfail_issue_36437,
|
||||
xfail_issue_38088,
|
||||
xfail_issue_38089,
|
||||
xfail_issue_38090,
|
||||
xfail_issue_38091,
|
||||
xfail_issue_35929,
|
||||
@@ -220,9 +217,6 @@ tests_expected_to_fail = [
|
||||
"OnnxBackendNodeModelTest.test_quantizelinear_cpu"),
|
||||
(xfail_issue_38087,
|
||||
"OnnxBackendNodeModelTest.test_convtranspose_1d_cpu"),
|
||||
(xfail_issue_35923,
|
||||
"OnnxBackendNodeModelTest.test_prelu_broadcast_cpu",
|
||||
"OnnxBackendNodeModelTest.test_prelu_example_cpu"),
|
||||
(xfail_issue_36483,
|
||||
"OnnxBackendNodeModelTest.test_ceil_cpu",
|
||||
"OnnxBackendNodeModelTest.test_ceil_example_cpu"),
|
||||
@@ -286,10 +280,6 @@ tests_expected_to_fail = [
|
||||
"OnnxBackendNodeModelTest.test_argmin_keepdims_example_select_last_index_cpu",
|
||||
"OnnxBackendNodeModelTest.test_argmin_keepdims_random_select_last_index_cpu",
|
||||
"OnnxBackendNodeModelTest.test_pow_types_float32_uint32_cpu"),
|
||||
(xfail_issue_38088,
|
||||
"OnnxBackendPyTorchConvertedModelTest.test_GLU_cpu"),
|
||||
(xfail_issue_38089,
|
||||
"OnnxBackendPyTorchConvertedModelTest.test_GLU_dim_cpu"),
|
||||
(xfail_issue_38090,
|
||||
"OnnxBackendNodeModelTest.test_where_long_example_cpu",
|
||||
"OnnxBackendNodeModelTest.test_mod_int64_fmod_cpu",
|
||||
|
||||
@@ -18,7 +18,6 @@ import onnx
|
||||
import pytest
|
||||
|
||||
from tests.test_onnx.utils import run_node
|
||||
from tests import xfail_issue_35915
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
@@ -27,9 +26,9 @@ from tests import xfail_issue_35915
|
||||
pytest.param("And", np.logical_and, np.bool),
|
||||
pytest.param("Or", np.logical_or, np.bool),
|
||||
pytest.param("Xor", np.logical_xor, np.bool),
|
||||
pytest.param("Equal", np.equal, np.int32, marks=xfail_issue_35915),
|
||||
pytest.param("Greater", np.greater, np.int32, marks=xfail_issue_35915),
|
||||
pytest.param("Less", np.less, np.int32, marks=xfail_issue_35915),
|
||||
pytest.param("Equal", np.equal, np.int32),
|
||||
pytest.param("Greater", np.greater, np.int32),
|
||||
pytest.param("Less", np.less, np.int32),
|
||||
],
|
||||
)
|
||||
def test_logical(onnx_op, numpy_func, data_type):
|
||||
|
||||
@@ -18,7 +18,7 @@ import onnx
|
||||
import pytest
|
||||
|
||||
from tests.test_onnx.utils import run_node
|
||||
from tests import xfail_issue_35918, xfail_issue_35923, xfail_issue_35924
|
||||
from tests import xfail_issue_35918, xfail_issue_35924
|
||||
|
||||
|
||||
def import_and_compute(op_type, input_data, **node_attrs):
|
||||
@@ -71,7 +71,6 @@ def test_leaky_relu():
|
||||
assert_onnx_import_equals_callable("LeakyRelu", leaky_relu, [[-3, -2, -1], [1, 2, 3]])
|
||||
|
||||
|
||||
@xfail_issue_35923
|
||||
@pytest.mark.parametrize(
|
||||
"x, slope",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user