Commit 9b9869c4 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 95827f48
...@@ -258,12 +258,12 @@ static void ins_quantize_int8(program& prog, ...@@ -258,12 +258,12 @@ static void ins_quantize_int8(program& prog,
{ {
// Current MIOpen convolution does not support alpha and beta, // Current MIOpen convolution does not support alpha and beta,
// so we need a separate multiply to adjust the output // so we need a separate multiply to adjust the output
auto conv_op = any_cast<op::convolution>(ins->get_operator()); auto conv_op = any_cast<op::convolution>(ins->get_operator());
auto padding = conv_op.padding; auto padding = conv_op.padding;
auto stride = conv_op.stride; auto stride = conv_op.stride;
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.0f / (ins_quant_params[0].first * ins_quant_params[1].first); auto adjust_factor = 1.0f / (ins_quant_params[0].first * ins_quant_params[1].first);
auto quant_conv = prog.insert_instruction( auto quant_conv = prog.insert_instruction(
......
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