Searched refs:clamp_max (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | remove_trivial_quantized_activation_func.cc | 37 double clamp_max; in IsTrivialUnfusedActivationFunc() local 41 clamp_max = std::numeric_limits<double>::infinity(); in IsTrivialUnfusedActivationFunc() 45 clamp_max = 1.0; in IsTrivialUnfusedActivationFunc() 49 clamp_max = 6.0; in IsTrivialUnfusedActivationFunc() 57 clamp_max); in IsTrivialUnfusedActivationFunc() 65 double clamp_max; in IsTrivialFusedActivationFunc() local 71 clamp_max = std::numeric_limits<double>::infinity(); in IsTrivialFusedActivationFunc() 75 clamp_max = 1.0; in IsTrivialFusedActivationFunc() 79 clamp_max = 6.0; in IsTrivialFusedActivationFunc() 89 clamp_max); in IsTrivialFusedActivationFunc()
|
D | remove_trivial_quantized_min_max.cc | 48 double clamp_max; in IsTrivialMinMax() local 52 clamp_max = clamp_value; in IsTrivialMinMax() 56 clamp_max = std::numeric_limits<double>::infinity(); in IsTrivialMinMax() 65 clamp_max); in IsTrivialMinMax()
|
D | quantization_util.cc | 212 double clamp_max) { in IsArrayQuantizedRangeSubset() argument 265 if (highest_representable_output > clamp_max) { in IsArrayQuantizedRangeSubset() 271 highest_representable_output, clamp_max); in IsArrayQuantizedRangeSubset()
|
D | quantization_util.h | 59 double clamp_max);
|
/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 398 params.kernel.max = clamp_max; in Clamp()
|
/external/gemmlowp/test/ |
D | test_fixedpoint.cc | 123 const double clamp_max = std::numeric_limits<std::int32_t>::max(); 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 | 972 LLVMValueRef clamp_max; in lp_build_linear_mip_levels() local 1007 clamp_max = LLVMBuildICmp(builder, LLVMIntSGE, in lp_build_linear_mip_levels() 1011 *level0_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1014 *level1_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1017 *lod_fpart_inout = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels()
|
/external/libaom/libaom/av1/common/ |
D | mvref_common.c | 34 const int clamp_max = MV_UPP - 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()
|