Skip to content

Remove ngraph::Lambda class, replace TensorIterator body with ngraph::Function#1830

Merged
ilyachur merged 4 commits intoopenvinotoolkit:masterfrom
itikhono:itikhono/remove_lambda
Aug 19, 2020
Merged

Remove ngraph::Lambda class, replace TensorIterator body with ngraph::Function#1830
ilyachur merged 4 commits intoopenvinotoolkit:masterfrom
itikhono:itikhono/remove_lambda

Conversation

@itikhono
Copy link
Copy Markdown
Contributor

@itikhono itikhono commented Aug 18, 2020

Removed ngraph::Lambda class.
Moved the functionality to ngraph::Function
Replaced use of ngraph::Lambda with ngraph::Function

After removing Lambda it turned out that passing parameters (not initializes) from parent graph to subgraph does not work correctly (as a result a few unit tests fail). Necessary changes were made by @mbencer in this PR itikhono#1

@ilya-lavrenov ilya-lavrenov added the category: Core OpenVINO Core (aka ngraph) label Aug 18, 2020
@ilya-lavrenov ilya-lavrenov added this to the 2021.1 milestone Aug 18, 2020
@openvino-pushbot openvino-pushbot added category: inference OpenVINO Runtime library - Inference category: IE Tests OpenVINO Test: plugins and common labels Aug 18, 2020
@itikhono itikhono requested a review from tomdol August 18, 2020 07:51
@mbencer mbencer requested a review from tsocha August 18, 2020 14:39
NGRAPH_API
NodeVector as_node_vector(const OutputVector& values);
/// Returns a ResultVector referencing values.
NGRAPH_API
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ilyachur Is it ok to expose as_result_vector? (it is used in onnx importer)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am ok this this change, if it is required for external components.

@ilyachur ilyachur self-requested a review August 18, 2020 15:33
@ilyachur ilyachur self-assigned this Aug 18, 2020
@ilyachur ilyachur merged commit c5ca8f5 into openvinotoolkit:master Aug 19, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Aug 26, 2020
…:Function (openvinotoolkit#1830)

* remove Lambda class, replace TensorIterator body with ngraph::Function

* Fix passing parameters from parent graph to subgraph

Co-authored-by: mbencer <mateusz.bencer@intel.com>
RomanZm pushed a commit to RomanZm/openvino that referenced this pull request Aug 28, 2020
…:Function (openvinotoolkit#1830)

* remove Lambda class, replace TensorIterator body with ngraph::Function

* Fix passing parameters from parent graph to subgraph

Co-authored-by: mbencer <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 category: inference OpenVINO Runtime library - Inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants