Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
0fe0dfdd
"src/layout/gemm_layouts.cc" did not exist on "64f17c2f369e612cc297d358f607307a615bbb59"
Commit
0fe0dfdd
authored
Jan 24, 2019
by
Paul
Browse files
Formatting
parent
47212d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+3
-3
No files found.
src/onnx/onnx.cpp
View file @
0fe0dfdd
...
@@ -720,7 +720,7 @@ struct onnx_parser
...
@@ -720,7 +720,7 @@ struct onnx_parser
result
=
ops
[
node
.
op_type
()](
get_attributes
(
node
),
args
);
result
=
ops
[
node
.
op_type
()](
get_attributes
(
node
),
args
);
}
}
// Even no output nodes produce output in migraphx
// Even no output nodes produce output in migraphx
if
(
node
.
output
().
empty
()
and
result
.
size
()
==
1
)
if
(
node
.
output
().
empty
()
and
result
.
size
()
==
1
)
{
{
instructions
[
name
]
=
result
.
front
();
instructions
[
name
]
=
result
.
front
();
}
}
...
@@ -765,9 +765,9 @@ struct onnx_parser
...
@@ -765,9 +765,9 @@ struct onnx_parser
std
::
size_t
n
=
0
;
std
::
size_t
n
=
0
;
for
(
auto
&&
node
:
graph
.
node
())
for
(
auto
&&
node
:
graph
.
node
())
{
{
if
(
node
.
output
().
empty
())
if
(
node
.
output
().
empty
())
{
{
if
(
node
.
name
().
empty
())
if
(
node
.
name
().
empty
())
{
{
result
[
"migraphx_unamed_node_"
+
std
::
to_string
(
n
)]
=
node
;
result
[
"migraphx_unamed_node_"
+
std
::
to_string
(
n
)]
=
node
;
n
++
;
n
++
;
...
...
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