Home
last modified time | relevance | path

Searched refs:abs_value (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/audio/
Daudio_level.cc57 int16_t abs_value = in ComputeLevel() local
68 if (abs_value > abs_max_) in ComputeLevel()
69 abs_max_ = abs_value; in ComputeLevel()
/external/XNNPACK/src/xnnpack/
Drequantization.h84 const uint32_t abs_value = (value >= 0) ? (uint32_t) value : -(uint32_t) value; in xnn_qu8_requantize_precise() local
87 const uint64_t product = (uint64_t) abs_value * (uint64_t) multiplier; in xnn_qu8_requantize_precise()
132 const uint32_t abs_value = (value >= 0) ? (uint32_t) value : -(uint32_t) value; in xnn_qs8_requantize_precise() local
135 const uint64_t product = (uint64_t) abs_value * (uint64_t) multiplier; in xnn_qs8_requantize_precise()
/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_tokenizer.cc387 base::Optional<double> abs_value = in AddExtraCounterValues() local
391 if (!abs_value) { in AddExtraCounterValues()
395 data.extra_counter_values[index] = *abs_value; in AddExtraCounterValues()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc92 Value abs_value = rewriter.create<AbsFOp>(loc, input); in emitApproximation() local
96 abs_value, can_use_approx); in emitApproximation()
/external/fmtlib/include/fmt/
Dformat.h1588 UInt abs_value;
1603 abs_value(static_cast<UInt>(value)),
1609 abs_value = 0 - abs_value;
1617 auto num_digits = count_digits(abs_value);
1620 return format_decimal<Char>(it, abs_value, num_digits).end;
1629 int num_digits = count_digits<4>(abs_value);
1632 return format_uint<4, Char>(it, abs_value, num_digits,
1642 int num_digits = count_digits<1>(abs_value);
1645 return format_uint<1, Char>(it, abs_value, num_digits);
1650 int num_digits = count_digits<3>(abs_value);
[all …]
Dformat-inl.h140 auto abs_value = static_cast<uint32_or_64_or_128_t<int>>(error_code); in format_error_code() local
142 abs_value = 0 - abs_value; in format_error_code()
145 error_code_size += detail::to_unsigned(detail::count_digits(abs_value)); in format_error_code()
/external/tensorflow/tensorflow/python/kernel_tests/
Dinit_ops_test.py924 abs_value = 0
938 abs_value += np.abs(determinant)
945 self.assertAllClose(abs_value, count, rtol=tol, atol=tol)
995 abs_value = 0
1009 abs_value += np.abs(determinant)
1016 self.assertAllClose(abs_value, count, rtol=tol, atol=tol)
1226 abs_value = 0
1240 abs_value += np.abs(determinant)
1247 self.assertAllClose(abs_value, count, rtol=tol, atol=tol)
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc288 llvm::Value* abs_value = in EmitTanh() local
295 return FPCast(Select(FCmpULT(abs_value, max_value), fast_tanh, one_with_sign), in EmitTanh()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc360 const double abs_value = FpAbsoluteValue(value); in UpdateAbsValueBucket() local
363 (abs_value >= kAbsValueBucketBounds[i] && in UpdateAbsValueBucket()
364 abs_value < kAbsValueBucketBounds[i + 1])) { in UpdateAbsValueBucket()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc500 auto abs_value = llvm_ir::EmitCallToIntrinsic( in EmitFloatUnaryOp() local
503 auto not_infinite = FCmpONE(abs_value, infinity); in EmitFloatUnaryOp()
1460 auto abs_value = in EmitCbrt() local
1463 EmitPow(prim_type, abs_value, third, "")); in EmitCbrt()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c9410 int abs_value = abs(value); in tgsi_atomic_op_gds() local
9411 if (abs_value != value && gds_op == FETCH_OP_GDS_ADD_RET) in tgsi_atomic_op_gds()
9418 alu.src[0].value = abs_value; in tgsi_atomic_op_gds()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp12692 const T abs_value = de::abs(t); in trunc() local
12693 const T result_value = floor(abs_value); in trunc()