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

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

Merged
merged 4 commits into from
Aug 19, 2020

Conversation

itikhono
Copy link
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
@@ -100,6 +100,7 @@ namespace ngraph
NGRAPH_API
NodeVector as_node_vector(const OutputVector& values);
/// Returns a ResultVector referencing values.
NGRAPH_API
Copy link
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
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 <[email protected]>
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 <[email protected]>
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