Skip to content

Revise Round operation reference implementation#6287

Merged
ilyachur merged 2 commits intoopenvinotoolkit:masterfrom
tiger100256-hu:hu/revise_round
Jun 22, 2021
Merged

Revise Round operation reference implementation#6287
ilyachur merged 2 commits intoopenvinotoolkit:masterfrom
tiger100256-hu:hu/revise_round

Conversation

@tiger100256-hu
Copy link
Copy Markdown
Contributor

improve the input type error check
add attribute test case

Signed-off-by: Hu, Yuan2 yuan2.hu@intel.com

Details:

  • improve the input type error check
  • add attribute test case

Tickets:

  • 37565

improve the input type error check
add attribute test case

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
@tiger100256-hu tiger100256-hu requested a review from a team June 22, 2021 03:09
@openvino-pushbot openvino-pushbot added the category: Core OpenVINO Core (aka ngraph) label Jun 22, 2021
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
@ilyachur ilyachur merged commit b68166f into openvinotoolkit:master Jun 22, 2021
{
NodeBuilder::get_ops().register_factory<opset5::Round>();
auto data = make_shared<op::Parameter>(element::f32, Shape{200});
auto round = make_shared<opset5::Round>(data, opset5::Round::RoundMode::HALF_TO_EVEN);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ilyachur very sorry, I found there is a mistake here, it should be make_sharedopset5::Round(data, mode); but the code have be merged into master, do I need to create a new PR for it ?

rnugmanx pushed a commit to rnugmanx/openvino that referenced this pull request Aug 26, 2021
* Revise OP Round

improve the input type error check
add attribute test case

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* fix clang code style issue

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
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.

3 participants