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
1d0256f3
Unverified
Commit
1d0256f3
authored
Feb 07, 2019
by
Robert Kimball
Committed by
GitHub
Feb 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master
parents
e9ad86f2
3af90a22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
quantized_conv.cpp
src/ngraph/runtime/cpu/builder/quantized_conv.cpp
+2
-2
visualize_tree.cpp
src/ngraph/runtime/intelgpu/visualize_tree.cpp
+11
-6
No files found.
src/ngraph/runtime/cpu/builder/quantized_conv.cpp
View file @
1d0256f3
...
...
@@ -230,7 +230,7 @@ namespace ngraph
{
if
(
old_pops
.
kind
(
i
)
==
mkldnn
::
primitive
::
kind
::
eltwise
)
{
mkldnn
::
algorithm
alg
;
mkldnn
::
algorithm
alg
=
mkldnn
::
algorithm_undef
;
float
scale
=
0
;
float
alpha
=
0
;
float
beta
=
0
;
...
...
@@ -304,7 +304,7 @@ namespace ngraph
{
if
(
old_pops
.
kind
(
i
)
==
mkldnn
::
primitive
::
kind
::
eltwise
)
{
mkldnn
::
algorithm
alg
;
mkldnn
::
algorithm
alg
=
mkldnn
::
algorithm_undef
;
float
scale
=
0
;
float
alpha
=
0
;
float
beta
=
0
;
...
...
src/ngraph/runtime/intelgpu/visualize_tree.cpp
View file @
1d0256f3
...
...
@@ -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