Searched refs:twice_max_input_scale (Results 1 – 1 of 1) sorted by relevance
139 const double twice_max_input_scale = 2 * std::max(shape1.scale, shape2.scale); in addQuant8() local140 const double real_input1_multiplier = shape1.scale / twice_max_input_scale; in addQuant8()141 const double real_input2_multiplier = shape2.scale / twice_max_input_scale; in addQuant8()143 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in addQuant8()348 const double twice_max_input_scale = 2 * std::max(shape1.scale, shape2.scale); in subQuant8() local349 const double real_input1_multiplier = shape1.scale / twice_max_input_scale; in subQuant8()350 const double real_input2_multiplier = shape2.scale / twice_max_input_scale; in subQuant8()352 twice_max_input_scale / ((1 << left_shift) * shapeOut.scale); in subQuant8()