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
420d2363
Commit
420d2363
authored
May 15, 2019
by
Shucai Xiao
Browse files
fixed a bug
parent
b30a17c3
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 @
420d2363
...
@@ -233,7 +233,7 @@ void quantize_int8(program& prog, const std::vector<std::string>& ins_names)
...
@@ -233,7 +233,7 @@ void quantize_int8(program& prog, const std::vector<std::string>& ins_names)
auto
dilation
=
conv_op
.
dilation
;
auto
dilation
=
conv_op
.
dilation
;
auto
padding_mode
=
conv_op
.
padding_mode
;
auto
padding_mode
=
conv_op
.
padding_mode
;
auto
group
=
conv_op
.
group
;
auto
group
=
conv_op
.
group
;
auto
adjust_factor
=
1.0
/
int8_param
[
0
].
first
*
int8_param
[
1
].
first
;
auto
adjust_factor
=
1.0
/
(
int8_param
[
0
].
first
*
int8_param
[
1
].
first
)
;
auto
conv_res
=
prog
.
insert_instruction
(
auto
conv_res
=
prog
.
insert_instruction
(
ins
,
ins
,
...
...
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