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
d7bd9bb1
Unverified
Commit
d7bd9bb1
authored
Feb 23, 2018
by
Jayaram Bobba
Committed by
GitHub
Feb 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into jbobba/batchnorm-layout
parents
1c27b622
dd3af46c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
visualize_tree.cpp
src/ngraph/pass/visualize_tree.cpp
+10
-2
No files found.
src/ngraph/pass/visualize_tree.cpp
View file @
d7bd9bb1
...
@@ -66,9 +66,17 @@ std::string pass::VisualizeTree::add_attributes(shared_ptr<Node> node)
...
@@ -66,9 +66,17 @@ std::string pass::VisualizeTree::add_attributes(shared_ptr<Node> node)
std
::
string
pass
::
VisualizeTree
::
get_attributes
(
shared_ptr
<
Node
>
node
)
std
::
string
pass
::
VisualizeTree
::
get_attributes
(
shared_ptr
<
Node
>
node
)
{
{
stringstream
ss
;
stringstream
ss
;
if
(
node
->
is_parameter
())
if
(
node
->
is_parameter
()
||
node
->
is_output
()
)
{
{
ss
<<
" "
<<
node
->
get_name
()
<<
" [shape=box color=blue"
;
ss
<<
" "
<<
node
->
get_name
()
<<
" [shape=box "
;
if
(
node
->
is_parameter
())
{
ss
<<
"color=blue "
;
}
if
(
node
->
is_output
())
{
ss
<<
"style=filled fillcolor=pink "
;
}
}
}
else
else
{
{
...
...
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