Commit 50b99ff2 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 660af673
...@@ -257,8 +257,7 @@ void quantize_int8(program& prog, ...@@ -257,8 +257,7 @@ void quantize_int8(program& prog,
auto q_dot = prog.insert_instruction(ins, op::quant_dot{1, 0}, converted_inputs); auto q_dot = prog.insert_instruction(ins, op::quant_dot{1, 0}, converted_inputs);
if(inputs.size() == 3 and dot_op.beta != 0.0f) if(inputs.size() == 3 and dot_op.beta != 0.0f)
{ {
auto alpha_ab = prog.insert_instruction( auto alpha_ab = prog.insert_instruction(ins, op::convert{orig_type}, q_dot);
ins, op::convert{orig_type}, q_dot);
auto c_shape = q_dot->get_shape(); auto c_shape = q_dot->get_shape();
std::vector<float> vec_beta(c_shape.elements(), dot_op.beta); std::vector<float> vec_beta(c_shape.elements(), dot_op.beta);
auto l_beta = auto l_beta =
......
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