Home
last modified time | relevance | path

Searched refs:f_min (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc349 const float f_min = min_and_max.first; in TestFloatToQuantizedInPlaceUsingEigen() local
351 const float f_range = f_max - f_min; in TestFloatToQuantizedInPlaceUsingEigen()
356 input_array(i) = f_min + f_range * i / (values_count - 1); in TestFloatToQuantizedInPlaceUsingEigen()
360 FloatTensorToQuantizedInPlaceUsingEigen<T>(*eigen_device, input, f_min, in TestFloatToQuantizedInPlaceUsingEigen()
366 int32 expected = FloatToQuantized<T>(input_array(i), f_min, f_max); in TestFloatToQuantizedInPlaceUsingEigen()
376 << " f_min=" << f_min << " f_max=" << f_max in TestFloatToQuantizedInPlaceUsingEigen()
396 const float f_min = min_and_max.first; in TestQuantizedToFloatInPlaceUsingEigen() local
415 QuantizedTensorToFloatInPlaceUsingEigen<T>(*eigen_device, input, f_min, in TestQuantizedToFloatInPlaceUsingEigen()
418 const double range = static_cast<double>(f_max) - f_min; in TestQuantizedToFloatInPlaceUsingEigen()
420 float expected = QuantizedToFloat<T>(input_array(i), f_min, f_max); in TestQuantizedToFloatInPlaceUsingEigen()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h696 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() argument
705 CHECK_LE(f_min, 0); in QuantizationParams()
707 if (f_min == f_max) { in QuantizationParams()
709 CHECK_EQ(f_min, 0); in QuantizationParams()
717 scale = (f_max - f_min) / (qmax_double - qmin_double); in QuantizationParams()
727 const float zero_point_from_min = qmin_double - f_min / scale; in QuantizationParams()
731 std::abs(qmin_double) + std::abs(f_min / scale); in QuantizationParams()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dclamp-to-minmax.ll516 %f_min = sitofp i32 %si_min to float
519 %r = select i1 %lo_cmp, float 1.0, float %f_min
553 %f_min = sitofp i32 %si_min to float
555 %r = select i1 %lo_cmp, float 1.0, float %f_min
/external/libxml2/
Dxmlregexp.c6540 int f_min; member
6550 #define exp_min field.count.f_min
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi827 …<var-decl name='f_min' type-id='type-id-210' visibility='default' filepath='/ws/android/kernel/aos…