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
54cbce68
Commit
54cbce68
authored
Jun 04, 2019
by
Shucai Xiao
Browse files
clang format
parent
675d3b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/quantization.cpp
src/quantization.cpp
+2
-1
No files found.
src/quantization.cpp
View file @
54cbce68
...
...
@@ -369,7 +369,8 @@ void quantize_int8(program& prog,
ins
,
op
::
quant_convolution
{
padding
,
stride
,
dilation
,
padding_mode
,
group
},
converted_inputs
);
auto
fp_conv
=
prog
.
insert_instruction
(
ins
,
op
::
convert
{
shape
::
float_type
,
adjust_factor
,
0.0
f
},
quant_conv
);
auto
fp_conv
=
prog
.
insert_instruction
(
ins
,
op
::
convert
{
shape
::
float_type
,
adjust_factor
,
0.0
f
},
quant_conv
);
prog
.
replace_instruction
(
ins
,
op
::
convert
{
orig_type
,
1.0
f
,
0.0
f
},
fp_conv
);
}
else
...
...
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