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
5e006507
Commit
5e006507
authored
Apr 16, 2019
by
Shucai Xiao
Browse files
clang format
parent
00b03957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/quantize_ins.cpp
src/quantize_ins.cpp
+2
-2
No files found.
src/quantize_ins.cpp
View file @
5e006507
...
@@ -91,7 +91,7 @@ void quantize_ins(program& prog, const std::vector<std::string>& ins_names)
...
@@ -91,7 +91,7 @@ void quantize_ins(program& prog, const std::vector<std::string>& ins_names)
{
{
auto
op
=
ins
->
get_operator
();
auto
op
=
ins
->
get_operator
();
auto
ins_shape
=
compute_shape
(
op
,
converted_inputs
);
auto
ins_shape
=
compute_shape
(
op
,
converted_inputs
);
if
(
ins_shape
.
type
()
!=
orig_type
)
if
(
ins_shape
.
type
()
!=
orig_type
)
{
{
// insert another fp_conversion instruction to convert it back
// insert another fp_conversion instruction to convert it back
if
(
ins
==
std
::
prev
(
prog
.
end
()))
if
(
ins
==
std
::
prev
(
prog
.
end
()))
...
...
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