Skip to content

Reference implementations for Loop and TensorIterator ops#2978

Merged
ilyachur merged 80 commits intoopenvinotoolkit:masterfrom
itikhono:itikhono/references/loop
Nov 10, 2020
Merged

Reference implementations for Loop and TensorIterator ops#2978
ilyachur merged 80 commits intoopenvinotoolkit:masterfrom
itikhono:itikhono/references/loop

Conversation

@itikhono
Copy link
Copy Markdown
Contributor

@itikhono itikhono commented Nov 5, 2020

  1. Implemented ref implementations for Loop, TensorIterator and ngraph::function
  2. Enabled onnx importer unit tests for Loop op
  3. Enabled single layer tests for Loop op
  4. Implemented single layer tests for TensorIterator
    Misc: fixes (Reduce 1d cases in mkl, Ceiling naming in mkl), refactoring

Copy link
Copy Markdown
Contributor

@iefode iefode left a comment

Choose a reason for hiding this comment

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

One more comment, it will be good to add TI single layer tests

@itikhono itikhono requested a review from ilyachur November 9, 2020 13:42
@ilyachur ilyachur merged commit c309bb7 into openvinotoolkit:master Nov 10, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
…olkit#2978)

* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

* Add SpecialBodyPorts attribute in Loop op, update single layer tests

* first debug version

* more tests

* missing test file

* removed not needed shapes from test data

* move test data to new folder

* shape infer tests

* Added execution tests

* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* more execution tests

* add a new constructor of Loop op, resolve review remarks

* execution tests

* synchro with current version

* handle scalars and more tests

* scalar test enabled

* loop reference impl

* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op

* applied remarks

* handle unsupported cases

* rewrite unit tests

* update INTERPRETER manifest

* is_termination_condition_always_true simplification

* [TEST] update python models tests

* review remarks

* added xfail to tiny_yolov3

* missing model test

* revert test data

* fixed numbers of failing tests

* fixed failed test description

* fix test message

* fix xfail test

* reference implementation for ngraph::function

* update loop reference implementation

* Refactor loop reference implementation

* ngraph codestyle

* Refactoring

* Submodule update

* Skip check for Reduce ops in mkl for scalar cases, support for yolov3

* fix ngraph reader tests

* revert ceiling op, renaming

* Add allias(Ceiling) for Ceil op in mkl

* delete xfails

* fix build

* single layer tests for tensor iterarator

* Refactor TensorIterator and Loop ref impls

* revert dynamic tensor creation, disable some dynamic test cases

* fix warning

* Resolve review remarks

* revert Predefined values in Loop tests

Co-authored-by: Mateusz Bencer <mateusz.bencer@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) category: IE Tests OpenVINO Test: plugins and common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants