Commit 420d2363 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

fixed a bug

parent b30a17c3
...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment