Searched refs:clamp_min (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | remove_trivial_quantized_activation_func.cc | 36 double clamp_min; in IsTrivialUnfusedActivationFunc() local 40 clamp_min = 0.0; in IsTrivialUnfusedActivationFunc() 44 clamp_min = -1.0; in IsTrivialUnfusedActivationFunc() 48 clamp_min = 0.0; in IsTrivialUnfusedActivationFunc() 56 return IsArrayQuantizedRangeSubset(transformation, input_array, clamp_min, in IsTrivialUnfusedActivationFunc() 64 double clamp_min; in IsTrivialFusedActivationFunc() local 70 clamp_min = 0.0; in IsTrivialFusedActivationFunc() 74 clamp_min = -1.0; in IsTrivialFusedActivationFunc() 78 clamp_min = 0.0; in IsTrivialFusedActivationFunc() 88 return IsArrayQuantizedRangeSubset(transformation, output_array, clamp_min, in IsTrivialFusedActivationFunc()
|
D | remove_trivial_quantized_min_max.cc | 47 double clamp_min; in IsTrivialMinMax() local 51 clamp_min = -std::numeric_limits<double>::infinity(); in IsTrivialMinMax() 55 clamp_min = clamp_value; in IsTrivialMinMax() 64 return IsArrayQuantizedRangeSubset(transformation, input_array, clamp_min, in IsTrivialMinMax()
|
D | quantization_util.cc | 211 const Array& array, double clamp_min, in IsArrayQuantizedRangeSubset() argument 253 if (lowest_representable_output < clamp_min) { in IsArrayQuantizedRangeSubset() 259 lowest_representable_output, clamp_min); in IsArrayQuantizedRangeSubset()
|
D | quantization_util.h | 58 const Array& array, double clamp_min,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | meta_support.h | 107 quint8 clamp_min, quint8 clamp_max, quint8* output);
|
D | meta_support.cc | 386 quint8 clamp_min, quint8 clamp_max, quint8* output) { in Clamp() argument 397 params.kernel.min = clamp_min; in Clamp()
|
/external/gemmlowp/test/ |
D | test_fixedpoint.cc | 122 const double clamp_min = std::numeric_limits<std::int32_t>::min(); in ReferenceOp() local 124 const double clamped = std::min(clamp_max, std::max(clamp_min, d)); in ReferenceOp()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 971 LLVMValueRef clamp_min; in lp_build_linear_mip_levels() local 993 clamp_min = LLVMBuildICmp(builder, LLVMIntSLT, in lp_build_linear_mip_levels() 997 *level0_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1000 *level1_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1003 *lod_fpart_inout = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels()
|
/external/libaom/libaom/av1/common/ |
D | mvref_common.c | 35 const int clamp_min = MV_LOW + 1; in get_mv_projection() local 36 output->row = (int16_t)clamp(mv_row, clamp_min, clamp_max); in get_mv_projection() 37 output->col = (int16_t)clamp(mv_col, clamp_min, clamp_max); in get_mv_projection()
|