Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test refactor #2225

Merged
merged 3 commits into from
Sep 16, 2020
Merged

Test refactor #2225

merged 3 commits into from
Sep 16, 2020

Conversation

pszmel
Copy link
Contributor

@pszmel pszmel commented Sep 14, 2020

No description provided.

@pszmel pszmel added the category: Core OpenVINO Core (aka ngraph) label Sep 14, 2020
@pszmel pszmel self-assigned this Sep 14, 2020
@postrational postrational requested a review from tomdol September 16, 2020 09:14
@@ -158,7 +136,7 @@ NGRAPH_TEST(${BACKEND_NAME}, dequantize_zero_offset)
auto offset = op::Constant::create(input_type, scale_offset_shape, {0});
auto dequantize = make_shared<op::Dequantize>(X, scale, offset, output_type, quantization_axes);
auto f = make_shared<Function>(dequantize, ParameterVector{X});

#if 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this pre-processing instance, we only need the #else part of this code

…uantize, dequantize and quantize_zero_offset from 'backend/quantize_dequantize' refactored.
Copy link
Contributor

@blesniewski blesniewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pszmel - have you verified in some way that the results of the tests you refactored are the same before and after the refactor?

@pszmel
Copy link
Contributor Author

pszmel commented Sep 16, 2020

@pszmel - have you verified in some way that the results of the tests you refactored are the same before and after the refactor?

I copied the expected results from pre-refactored test and add them to expected_output in refactored tests. I guess that tests would not pass if I failed with copying.

@openvinotoolkit openvinotoolkit deleted a comment from ggalieroc-zz Sep 16, 2020
@postrational postrational merged commit 1337997 into openvinotoolkit:master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Core OpenVINO Core (aka ngraph)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants