* Add test cases for PReLU in cpu plugin
* For case when slope is vector
* Add Bucketize and NonZero template plugin reference tests
* Apply supported types for NonZero
* Edit float_t and double_t to float and double
* Edit std::vector<bool> to std::vector<char>
* [GPU] Fix incorrect reusage of OneDNN postops configurations
* [GPU] Add OneDNN's convolutions and deconvolutions support
* [GPU] Do not run fusing unittest when imad is not supported
Co-authored-by: Sergey, Shlyapnikov <sergey.shlyapnikov@intel.com>
* fixed dealing with None values in then/else branches of Select
* generalized solution when condition is non one elemental
* fix when both branches are None
* minor corrections
* rewritten Select unit-tests; fixed for condition with [True] mask
* removed mutable default arg from build_graph, added a few more test cases with masked condition, other minor corrections
* corrected output_shape calculation when broadcasting is off
* layer tests fixed: relaxed assert for condition shape to let pass TF Select
* corrected shape calculation when condition is not elementwise equal, calculated calculation for TF, corrected calculation of shape when values are not set
* fixed a typo for Select from TF Where
* fix expand_onnx_functions
* refactor + unit test
* fixed function in function case
* fixed expand_onnx_functions
* fixed default value of shape in ValueInfo
* enable xpass model
* changed MergeFrom to Swap
* added xfail with missing test data
* added more unit tests
* styles applied
* used std::rotate, review remarks
* removed debug code
* after offline discussion remarks
* fix checking input/output names on Windows
* names comparator refactor
* replace regex with custom comparison
* review remarks
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* add draft reference of binary convolution
* build test
* fix build error
* add binary_convolution reference test and ngraph visitor api test
* remove ngraph backend test of binary_convolution
* add reference test and remove ngraph backend test of convolution_backprop
* add f64 case for convolution_backprop
* restore from another devel branch
* cleanup
* cleanup
* code review fixes
* code review fixes
* use Broadcast instead of referenct
* unit tests reorginize
* add comment
* cleanups
* determine broadcast type
* unit test using Bool instead of {true, false}
* broadcast types fixes
* move SubstituteScaleShiftBroadCastPass under if (!isNgraphPassesUsed)
* windows build fix
dryrun failed in case nested graph is created.
(due to constant propagation)
For nested program, do not skip compile() to make outer program compiles
OK.
* Migrate POC for TensorFlow frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Refactor InputModelTensorFlow API
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Repack POC to official API
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove tensorflow API from public include
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make TF frontend work from MO and clean-up code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply codestyle
* Fix win biuld
* Fix Linux build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement Place class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Determine outputs from graph
* Implement all Place classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make small clean-up
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style corrections
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Determine cut nodes
* Apply codestyle
* Rework to use places
* Fix conversion issue
* Fix build
* Fix conversion
* Small fixes
* Add test for tf frontend
* Add tests
* Implement partial conversion
* Use dynamic type in TFFrameworkNode
* Fix build on Linux
* Implement InputModelTF class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix code by replacing InputModelTensorFlow to InputModelTF
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix to pass getPlaceByTensorName test
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Refactor and clean the code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finalize refactoring code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Support freezing inputs
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add support for pruning input ports as new model output
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style fixes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* move op convertors to separate files, refactoring
* openvino codestyle
* openvino codestyle
* fix crash of layer tests
* fix missprint
* Implement TensorFlow NodeContext and DecoderTFProto classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Switch to new NodeContext
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove ngraph_builder class and node_context_impl class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Move decoder/graph_iterator to separate files and remove old files
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Document Decoder, GraphIterator, and NodeContext classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove empty file graph_iterator_proto.cpp and redundant comments
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use base class for GraphIterator in model class and correct exception class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use ends_with from util library
* Remain only InputModelTF constructor with GraphIterator and adopt other code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct code after merge
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix code based on feedback: delete extra namespace usage, etc.
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make legacy TF frontend default in MO and avoid reading tf models from ReadNetwork
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue with FrameworkNode after upstream merge
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct frontend name in test and clean the code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* refactoring of tf FrontEnd: rename namespaces, delete default opset
* codestyle
* fix e2e tests
* change namespaces of external classes
* resolve review comment
* codestyle
* Clean useless comments and fix tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add copyright for proto files
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make op translators a part of FrontEndTF
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Align CMakeLists.txt file with other frontends
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add job_pool into CMakeLists.txt for tensorflow tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove cout and WA in ie_network_reader.cpp
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct DecoderBase and FrontEndTF methods, clean the code from if 0, utility.hpp, ngraph_conversions.hpp
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Clean operation translator code and remove empty implementation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Extend cmake template files with tensorflow frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issues on MacOS and apply review feedback
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove ConstantFolding pass, add destructors for DecoderBase, GraphIterator, and fix Win build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix Windows build issue
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style fix
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix issues with code style: remove virtual keyword, OpMap removal
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Resolve review remarks
* Resolve review remarks
* codestyle
* resolve review remarks
* fix copyright
* resolve review comments
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now
* update repo
* create new PR from PR7849
* remove backend tests of activation operations
+ Prevent to fuse PRelu if convolution is onednn impl.
+ Prevent to remove input reorder if onednn conv converts format from bfyx to b_fs_yx_fsv32.
+ Add a value to optimal lws values for eltwise kernel selector.
+ Fix a condition of remove redundant reorder. (try_fuse_reorder_bfyx_to_fsv32)