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

[nGraph][IE] Enable FP64 data type in IE and review nGraph Python tests #2563

Merged

Conversation

jiwaszki
Copy link

@jiwaszki jiwaszki commented Oct 6, 2020

No description provided.

@jiwaszki jiwaszki added category: inference OpenVINO Runtime library - Inference category: Core OpenVINO Core (aka ngraph) category: onnx importer labels Oct 6, 2020
@jiwaszki jiwaszki self-assigned this Oct 6, 2020
Copy link
Contributor

@ilyachur ilyachur left a comment

Choose a reason for hiding this comment

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

It is hard to review because you changed the code style for all file.

In general if you add a new precision to the Inference Engine please also add new tests.
You can use this PR as an example: https://github.com/openvinotoolkit/openvino/pull/1297/files

inference-engine/include/ie_precision.hpp Outdated Show resolved Hide resolved
inference-engine/include/ie_precision.hpp Outdated Show resolved Hide resolved
Copy link
Contributor

@tsocha tsocha left a comment

Choose a reason for hiding this comment

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

please revert indentation changes to keep diff tidy.

@ilya-lavrenov ilya-lavrenov self-requested a review October 8, 2020 07:17
Copy link
Contributor

@postrational postrational left a comment

Choose a reason for hiding this comment

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

Please revert indentation changes. Otherwise looks good.

@mbencer
Copy link
Contributor

mbencer commented Oct 8, 2020

Should be fp64 type added to ie_api.pyx (

) if we start support it?
@akuporos What do you think?

@jiwaszki jiwaszki force-pushed the jiwaszki/fp64_xfail_part_fix branch from e534e20 to fa62920 Compare October 9, 2020 12:08
@jiwaszki jiwaszki requested a review from a team as a code owner October 9, 2020 12:08
@jiwaszki jiwaszki requested review from a team October 9, 2020 12:08
@@ -382,6 +382,9 @@ CNNLayer::Ptr NodeConverter<ngraph::op::Convert>::createLayer(const std::shared_
case Precision::FP32:
precision_str = "FP32";
break;
case Precision::FP64:
Copy link
Contributor

Choose a reason for hiding this comment

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

It can be done separately.

I think we can replace this switch/case to one line: precision_str = p.name();

@ilyachur
Copy link
Contributor

Please fix a CI.

Copy link
Contributor

@akuporos akuporos left a comment

Choose a reason for hiding this comment

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

It'd be nice to add a test here

@ilyachur
Copy link
Contributor

ilyachur commented Dec 1, 2020

Please make CI green.

@jiwaszki jiwaszki requested a review from tsocha December 1, 2020 09:18
@postrational postrational merged commit e1a7f7e into openvinotoolkit:master Dec 2, 2020
evolosen pushed a commit to evolosen/openvino that referenced this pull request Dec 3, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 11, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Jan 14, 2021
jiwaszki pushed a commit to akuporos/openvino that referenced this pull request Jan 15, 2021
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) category: inference OpenVINO Runtime library - Inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants