Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
11328f64
Commit
11328f64
authored
Aug 09, 2017
by
ziheng
Committed by
Tianqi Chen
Aug 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Pass the attributes of master node (#304)
parent
b40d43c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps/graph_executor/src/graph_pass.cc
+2
-2
No files found.
apps/graph_executor/src/graph_pass.cc
View file @
11328f64
...
@@ -279,9 +279,9 @@ nnvm::Graph GraphFuse(nnvm::Graph g) {
...
@@ -279,9 +279,9 @@ nnvm::Graph GraphFuse(nnvm::Graph g) {
int
master
=
master_vec
[
root_id
];
int
master
=
master_vec
[
root_id
];
CHECK_GE
(
master
,
0
);
CHECK_GE
(
master
,
0
);
fe
.
schedule
=
fschedule
[
idx
[
master
].
source
->
op
()](
fe
.
schedule
=
fschedule
[
idx
[
master
].
source
->
op
()](
i
node
.
source
->
attrs
,
fe
.
outputs
,
target
);
i
dx
[
master
]
.
source
->
attrs
,
fe
.
outputs
,
target
);
std
::
ostringstream
os
;
std
::
ostringstream
os
;
os
<<
i
node
.
source
->
attrs
.
name
+
"_id"
<<
nid
;
os
<<
i
dx
[
master
]
.
source
->
attrs
.
name
+
"_id"
<<
nid
;
fe
.
func_name
=
os
.
str
();
fe
.
func_name
=
os
.
str
();
}
}
}
}
...
...
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