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
3af90a22
Commit
3af90a22
authored
Feb 07, 2019
by
Sergey Shalnov
Committed by
Robert Kimball
Feb 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IntelGPU backend: Visual output for many inputs fixed (#2404)
parent
b5e8708b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
visualize_tree.cpp
src/ngraph/runtime/intelgpu/visualize_tree.cpp
+11
-6
No files found.
src/ngraph/runtime/intelgpu/visualize_tree.cpp
View file @
3af90a22
...
...
@@ -403,9 +403,14 @@ void print_node(ostringstream& writer, const shared_ptr<Node>& node)
size_t
arg_idx
=
0
;
for
(
const
descriptor
::
Input
&
op_input
:
node
->
get_inputs
())
{
writer
<<
table_row_begin
()
<<
font_small_begin
<<
op_input
.
get_element_type
().
c_type_string
()
<<
" input"
<<
arg_idx
<<
vector_to_string
(
op_input
.
get_shape
())
<<
font_end
<<
table_row_end
;
writer
<<
print_table_row_dims
(
op_input
.
get_element_type
().
c_type_string
()
+
" input"
+
to_string
(
arg_idx
),
op_input
.
get_shape
());
if
(
arg_idx
>=
9
)
{
writer
<<
print_table_row_value
(
"... total inputs"
,
node
->
get_inputs
().
size
());
break
;
}
++
arg_idx
;
}
}
...
...
@@ -415,9 +420,9 @@ void print_node(ostringstream& writer, const shared_ptr<Node>& node)
size_t
arg_idx
=
0
;
for
(
const
descriptor
::
Output
&
op_output
:
node
->
get_outputs
())
{
writer
<<
table_row_begin
()
<<
font_small_begin
<<
op_output
.
get_element_type
().
c_type_string
()
<<
" output"
<<
arg_idx
<<
vector_to_string
(
op_output
.
get_shape
())
<<
font_end
<<
table_row_end
;
writer
<<
print_table_row_dims
(
op_output
.
get_element_type
().
c_type_string
()
+
" output"
+
to_string
(
arg_idx
),
op_output
.
get_shape
())
;
++
arg_idx
;
}
}
...
...
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