57 {
59 gemmlowp::OutputStageBiasAddition<ColVectorMap> bias_addition_stage;
60 bias_addition_stage.bias_vector = bias_vector;
61 gemmlowp::OutputStageScaleInt32ByFixedPointAndExponent quantize_down_stage;
62 quantize_down_stage.result_offset_after_shift = output_offset;
63 quantize_down_stage.result_fixedpoint_multiplier = output_multiplier;
64 quantize_down_stage.result_exponent = output_left_shift;
65 gemmlowp::OutputStageClamp clamp_stage;
66 clamp_stage.min = output_activation_min;
67 clamp_stage.max = output_activation_max;
68 gemmlowp::OutputStageSaturatingCastToUint8 saturating_cast_stage;
69 return std::make_tuple(bias_addition_stage, quantize_down_stage, clamp_stage,
70 saturating_cast_stage);
71 }
gemmlowp::VectorMap< const int32_t, gemmlowp::VectorShape::Col > ColVectorMap