Searched refs:clamp_stage (Results 1 – 3 of 3) sorted by relevance
/external/gemmlowp/test/ |
D | test.cc | 1325 OutputStageClamp clamp_stage; in TestOutputStages() local 1336 clamp_stage.min = static_cast<std::int32_t>(raw_min * 0.7 + raw_max * 0.3); in TestOutputStages() 1337 clamp_stage.max = static_cast<std::int32_t>(raw_min * 0.3 + raw_max * 0.7); in TestOutputStages() 1338 assert(raw_min <= clamp_stage.min && clamp_stage.min <= clamp_stage.max && in TestOutputStages() 1339 clamp_stage.max <= raw_max); in TestOutputStages() 1340 auto clamp_pipeline = std::make_tuple(clamp_stage); in TestOutputStages() 1349 std::min(std::max(raw, clamp_stage.min), clamp_stage.max); in TestOutputStages() 1380 std::make_tuple(col_bias_addition_stage, clamp_stage); in TestOutputStages() 1390 std::min(std::max(biased, clamp_stage.min), clamp_stage.max); in TestOutputStages() 1398 std::make_tuple(col_bias_addition_stage, clamp_stage, quantize_down_stage, in TestOutputStages()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 1140 gemmlowp::OutputStageClamp clamp_stage; in MakeExp() local 1141 clamp_stage.min = output_activation_min; in MakeExp() 1142 clamp_stage.max = output_activation_max; in MakeExp() 1145 clamp_stage, saturating_cast_stage); in MakeExp() 1307 gemmlowp::OutputStageClamp clamp_stage; in FullyConnected() local 1308 clamp_stage.min = output_activation_min; in FullyConnected() 1309 clamp_stage.max = output_activation_max; in FullyConnected() 1312 std::make_tuple(bias_addition_stage, scale_stage, clamp_stage, in FullyConnected()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 1157 gemmlowp::OutputStageClamp clamp_stage; in MakeExp() local 1158 clamp_stage.min = output_activation_min; in MakeExp() 1159 clamp_stage.max = output_activation_max; in MakeExp() 1162 clamp_stage, saturating_cast_stage); in MakeExp() 1299 gemmlowp::OutputStageClamp clamp_stage; in FullyConnected() local 1300 clamp_stage.min = output_activation_min; in FullyConnected() 1301 clamp_stage.max = output_activation_max; in FullyConnected() 1304 std::make_tuple(bias_addition_stage, scale_stage, clamp_stage, in FullyConnected()
|