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
a2ef00f4
Commit
a2ef00f4
authored
Jun 24, 2019
by
fenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using Output<Node> instead of shared_ptr<Node>
parent
95a19165
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
recv.cpp
src/ngraph/op/recv.cpp
+1
-1
recv.hpp
src/ngraph/op/recv.hpp
+1
-1
send.cpp
src/ngraph/op/send.cpp
+1
-1
send.hpp
src/ngraph/op/send.hpp
+1
-1
No files found.
src/ngraph/op/recv.cpp
View file @
a2ef00f4
...
...
@@ -21,7 +21,7 @@ using namespace ngraph;
const
string
op
::
Recv
::
type_name
{
"Recv"
};
op
::
Recv
::
Recv
(
const
shared_ptr
<
Node
>&
arg
,
int
src_id
)
op
::
Recv
::
Recv
(
const
Output
<
Node
>&
arg
,
int
src_id
)
:
Op
(
check_single_output_args
({
arg
}))
,
m_src_id
(
src_id
)
{
...
...
src/ngraph/op/recv.hpp
View file @
a2ef00f4
...
...
@@ -36,7 +36,7 @@ namespace ngraph
///
/// \param arg The node for tensor to receive data
/// \param src_id the source id which could be rank or node id.
Recv
(
const
std
::
shared_ptr
<
Node
>&
arg
,
int
src_id
);
Recv
(
const
Output
<
Node
>&
arg
,
int
src_id
);
void
validate_and_infer_types
()
override
;
...
...
src/ngraph/op/send.cpp
View file @
a2ef00f4
...
...
@@ -21,7 +21,7 @@ using namespace ngraph;
const
string
op
::
Send
::
type_name
{
"Send"
};
op
::
Send
::
Send
(
const
shared_ptr
<
Node
>&
arg
,
int
dest_id
)
op
::
Send
::
Send
(
const
Output
<
Node
>&
arg
,
int
dest_id
)
:
Op
(
check_single_output_args
({
arg
}))
,
m_dest_id
(
dest_id
)
{
...
...
src/ngraph/op/send.hpp
View file @
a2ef00f4
...
...
@@ -36,7 +36,7 @@ namespace ngraph
///
/// \param arg The node for input tensor
/// \param dest_id the target id which could be rank of node id.
Send
(
const
std
::
shared_ptr
<
Node
>&
arg
,
int
dest_id
);
Send
(
const
Output
<
Node
>&
arg
,
int
dest_id
);
void
validate_and_infer_types
()
override
;
...
...
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