Home
last modified time | relevance | path

Searched defs:clamped (Results 1 – 25 of 42) sorted by relevance

12

/external/webrtc/api/audio/
Decho_canceller3_config.cc21 float clamped = rtc::SafeClamp(*value, min, max); in Limit() local
29 size_t clamped = rtc::SafeClamp(*value, min, max); in Limit() local
36 int clamped = rtc::SafeClamp(*value, min, max); in Limit() local
43 size_t clamped = *value >= min ? *value : min; in FloorLimit() local
/external/tensorflow/tensorflow/lite/micro/kernels/
Dactivations.cc57 int32_t clamped = in ReluQuantized() local
103 const float clamped = val < lower ? lower : val; in ReluFloat() local
115 const float clamped = val > upper ? upper : val < lower ? lower : val; in Relu6Float() local
127 const Q clamped = val > upper ? upper : val < lower ? lower : val; in Relu6Quantized() local
/external/tensorflow/tensorflow/core/kernels/
Dfake_quant_ops_functor.h92 auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator() local
143 const auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator() local
215 const auto clamped = in operator() local
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dquantize.h47 int32_t clamped = std::min(std::max(unclamped, min_val), max_val); in AffineQuantize() local
Dreference_ops.h97 const T clamped = val < lower ? lower : val; in Relu() local
111 const T clamped = val > upper ? upper : val < lower ? lower : val; in Relu1() local
124 const float clamped = val > upper ? upper : val < lower ? lower : val; in Relu6() local
137 int32 clamped = params.output_offset + in ReluX() local
157 const T clamped = val > max_value ? max_value in ReluX() local
/external/mesa3d/src/panfrost/midgard/
Dmidgard_errata_lod.c74 nir_ssa_def *clamped = nir_fmin(b, in nir_lod_errata_instr() local
/external/angle/src/compiler/translator/tree_ops/
DClampIndirectIndices.cpp102 TIntermTyped *clamped = in visitBinary() local
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c130 nir_ssa_def *clamped = nir_fmin(&b, coverage, nir_imm_float(&b, 1.0f)); in initialise_coverage_var() local
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h119 const auto clamped = vmaxq_s8(output_activation_min_vector, in MulElementwise() local
212 const auto clamped = vmaxq_s8(output_activation_min_vector, in MulSimpleBroadcast() local
Dadd.h136 const int8x16_t clamped = in AddElementwise() local
232 const int8x8_t clamped = in AddScalarBroadcast() local
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dspinlock.cc208 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dspinlock.cc196 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dspinlock.cc196 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/abseil-cpp/absl/base/internal/
Dspinlock.cc208 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock.cc205 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dspinlock.cc196 uint32_t clamped = static_cast<uint32_t>( in EncodeWaitCycles() local
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_common.h63 bool clampingErr = false, clamped = false, otherClampingBug = false; in determine_validation_error_offset() local
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c1155 int64_t clamped; in pb_dec_varint() local
1190 uint64_t value, clamped; in pb_dec_uvarint() local
1214 int64_t value, clamped; in pb_dec_svarint() local
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h138 const double clamped = in quantizeF32ToInt8() local
/external/mesa3d/src/compiler/nir/
Dnir_format_convert.h364 nir_ssa_def *clamped = nir_fmax(b, color, nir_imm_float(b, 0)); in nir_format_pack_11f11f10f() local
390 nir_ssa_def *clamped = nir_fmin(b, color, nir_imm_float(b, MAX_RGB9E5)); in nir_format_pack_r9g9b9e5() local
/external/nanopb-c/
Dpb_decode.c1293 pb_int64_t clamped; in pb_dec_varint() local
1328 pb_uint64_t value, clamped; in pb_dec_uvarint() local
1352 pb_int64_t value, clamped; in pb_dec_svarint() local
/external/webrtc/rtc_base/numerics/
Dsafe_minmax_unittest.cc263 bool CheckClamp(T x, L min, H max, R clamped) { in CheckClamp()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.cc365 const float clamped = std::min(nudged_max, std::max(nudged_min, src_val)); in FakeQuantizeArray() local
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dfake_quantize_ops.cc78 xla::XlaOp clamped = xla::Clamp(nudged_input_min, input, nudged_input_max); in Quantize() local
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c826 boolean clamped, in lp_build_pack()

12