Home
last modified time | relevance | path

Searched refs:f_min (Results 1 – 4 of 4) 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_t 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.h753 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() argument
762 CHECK_LE(f_min, 0); in QuantizationParams()
764 if (f_min == f_max) { in QuantizationParams()
766 CHECK_EQ(f_min, 0); in QuantizationParams()
774 scale = (f_max - f_min) / (qmax_double - qmin_double); in QuantizationParams()
784 const float zero_point_from_min = qmin_double - f_min / scale; in QuantizationParams()
788 std::abs(qmin_double) + std::abs(f_min / scale); in QuantizationParams()
/external/libxml2/
Dxmlregexp.c6642 int f_min; member
6652 #define exp_min field.count.f_min
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi5279 …<var-decl name='f_min' type-id='type-id-121' visibility='default' filepath='/ws/android/kernel/aos…