Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
02fad9e7
Commit
02fad9e7
authored
Sep 21, 2018
by
Matthew Brookhart
Committed by
Scott Cyphers
Sep 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug in get_output_element (#1653)
parent
b0b8719d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get_output_element.hpp
src/ngraph/op/get_output_element.hpp
+1
-1
No files found.
src/ngraph/op/get_output_element.hpp
View file @
02fad9e7
...
@@ -50,7 +50,7 @@ namespace ngraph
...
@@ -50,7 +50,7 @@ namespace ngraph
inline
std
::
shared_ptr
<
Node
>
get_output_element
(
const
std
::
shared_ptr
<
Node
>
node
,
size_t
i
=
0
)
inline
std
::
shared_ptr
<
Node
>
get_output_element
(
const
std
::
shared_ptr
<
Node
>
node
,
size_t
i
=
0
)
{
{
return
((
i
==
0
)
&&
node
->
get_
in
put_size
()
==
1
)
return
((
i
==
0
)
&&
node
->
get_
out
put_size
()
==
1
)
?
node
?
node
:
std
::
make_shared
<
op
::
GetOutputElement
>
(
node
,
i
);
:
std
::
make_shared
<
op
::
GetOutputElement
>
(
node
,
i
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment