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
7b821bbb
Commit
7b821bbb
authored
Sep 01, 2019
by
Shucai Xiao
Browse files
clang format
parent
957cbe24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/quantization.cpp
src/quantization.cpp
+1
-1
No files found.
src/quantization.cpp
View file @
7b821bbb
...
@@ -510,7 +510,7 @@ capture_arguments_impl(program& prog, const target& t, const std::vector<std::st
...
@@ -510,7 +510,7 @@ capture_arguments_impl(program& prog, const target& t, const std::vector<std::st
max_abs_vals
->
at
(
ins_index
)
=
std
::
max
(
max_abs_vals
->
at
(
ins_index
),
max_abs
);
max_abs_vals
->
at
(
ins_index
)
=
std
::
max
(
max_abs_vals
->
at
(
ins_index
),
max_abs
);
// if all values are 0, no need to do scaling
// if all values are 0, no need to do scaling
if
(
max_abs_vals
->
at
(
ins_index
)
==
0.0
f
)
if
(
max_abs_vals
->
at
(
ins_index
)
==
0.0
f
)
{
{
param_pair
.
first
=
1.0
f
;
param_pair
.
first
=
1.0
f
;
}
}
...
...
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