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
015d1ac4
Commit
015d1ac4
authored
Mar 01, 2019
by
Shucai Xiao
Browse files
clang format
parent
c2898ca7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+4
-3
No files found.
src/onnx/onnx.cpp
View file @
015d1ac4
...
@@ -486,7 +486,8 @@ struct onnx_parser
...
@@ -486,7 +486,8 @@ struct onnx_parser
auto
out_lens
=
l1
->
get_shape
().
lens
();
auto
out_lens
=
l1
->
get_shape
().
lens
();
out_lens
.
back
()
=
l2
->
get_shape
().
lens
().
back
();
out_lens
.
back
()
=
l2
->
get_shape
().
lens
().
back
();
auto
l3
=
args
[
2
];
auto
l3
=
args
[
2
];
if
(
!
std
::
equal
(
out_lens
.
begin
(),
out_lens
.
end
(),
args
[
2
]
->
get_shape
().
lens
().
begin
()))
if
(
!
std
::
equal
(
out_lens
.
begin
(),
out_lens
.
end
(),
args
[
2
]
->
get_shape
().
lens
().
begin
()))
{
{
l3
=
prog
.
add_instruction
(
op
::
multibroadcast
{
out_lens
},
args
[
2
]);
l3
=
prog
.
add_instruction
(
op
::
multibroadcast
{
out_lens
},
args
[
2
]);
}
}
...
...
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