Home
last modified time | relevance | path

Searched refs:clamp_min (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_trivial_quantized_activation_func.cc36 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()
Dremove_trivial_quantized_min_max.cc47 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()
Dquantization_util.cc211 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()
Dquantization_util.h58 const Array& array, double clamp_min,
/external/tensorflow/tensorflow/core/kernels/
Dmeta_support.h107 quint8 clamp_min, quint8 clamp_max, quint8* output);
Dmeta_support.cc386 quint8 clamp_min, quint8 clamp_max, quint8* output) { in Clamp() argument
397 params.kernel.min = clamp_min; in Clamp()
/external/gemmlowp/test/
Dtest_fixedpoint.cc122 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/
Dlp_bld_sample.c971 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/
Dmvref_common.c35 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()