Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_trivial_quantized_activation_func.cc37 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()
Dremove_trivial_quantized_min_max.cc48 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()
Dquantization_util.cc212 double clamp_max) { in IsArrayQuantizedRangeSubset() argument
265 if (highest_representable_output > clamp_max) { in IsArrayQuantizedRangeSubset()
271 highest_representable_output, clamp_max); in IsArrayQuantizedRangeSubset()
Dquantization_util.h59 double clamp_max);
/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
398 params.kernel.max = clamp_max; in Clamp()
/external/gemmlowp/test/
Dtest_fixedpoint.cc123 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/
Dlp_bld_sample.c972 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/
Dmvref_common.c34 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()