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
1af7fe6c
Commit
1af7fe6c
authored
Aug 19, 2019
by
Shucai Xiao
Browse files
fix cppcheck error
parent
4d2516e1
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 @
1af7fe6c
...
@@ -190,7 +190,7 @@ capture_arguments(program& prog, const std::vector<std::string>& ins_names)
...
@@ -190,7 +190,7 @@ capture_arguments(program& prog, const std::vector<std::string>& ins_names)
auto
num_params
=
capture_arguments
(
prog
,
ins_names
,
calc_quant_params
);
auto
num_params
=
capture_arguments
(
prog
,
ins_names
,
calc_quant_params
);
int8_quant_params
->
resize
(
num_params
,
std
::
make_
pair
<
float
,
float
>
(
64.0
f
,
0.0
f
));
int8_quant_params
->
resize
(
num_params
,
std
::
pair
<
float
,
float
>
(
64.0
f
,
0.0
f
));
max_abs_vals
->
resize
(
num_params
,
0.0
f
);
max_abs_vals
->
resize
(
num_params
,
0.0
f
);
return
int8_quant_params
;
return
int8_quant_params
;
...
...
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