Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
1fe1127c
Commit
1fe1127c
authored
Aug 02, 2019
by
Shucai Xiao
Browse files
fix cppcheck error
parent
42080b48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/include/migraphx/quantization.hpp
src/include/migraphx/quantization.hpp
+1
-1
src/quantization.cpp
src/quantization.cpp
+1
-1
No files found.
src/include/migraphx/quantization.hpp
View file @
1fe1127c
...
@@ -19,7 +19,7 @@ void quantize(program& prog);
...
@@ -19,7 +19,7 @@ void quantize(program& prog);
// to int8
// to int8
void
capture_arguments
(
program
&
prog
,
void
capture_arguments
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
,
const
std
::
vector
<
std
::
string
>&
ins_names
,
std
::
function
<
void
(
std
::
size_t
,
std
::
vector
<
argument
>
)
>
func
);
const
std
::
function
<
void
(
std
::
size_t
,
std
::
vector
<
argument
>
)
>
&
func
);
void
capture_arguments
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
);
void
capture_arguments
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
);
void
capture_arguments
(
program
&
prog
);
void
capture_arguments
(
program
&
prog
);
...
...
src/quantization.cpp
View file @
1fe1127c
...
@@ -120,7 +120,7 @@ void quantize(program& prog) { quantize(prog, {"all"}); }
...
@@ -120,7 +120,7 @@ void quantize(program& prog) { quantize(prog, {"all"}); }
// capture operator to compute the scale and shift
// capture operator to compute the scale and shift
void
capture_arguments
(
program
&
prog
,
void
capture_arguments
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>&
ins_names
,
const
std
::
vector
<
std
::
string
>&
ins_names
,
std
::
function
<
void
(
std
::
size_t
,
std
::
vector
<
argument
>
)
>
func
)
const
std
::
function
<
void
(
std
::
size_t
,
std
::
vector
<
argument
>
)
>
&
func
)
{
{
size_t
num_quant_params
=
0
;
size_t
num_quant_params
=
0
;
...
...
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