Home
last modified time | relevance | path

Searched refs:kMin (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dcomparisons_test.cc389 const float kMin = -1.f; in TEST() local
391 ComparisonOpModel model({TensorType_UINT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
392 {TensorType_UINT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
402 const float kMin = -127.f; in TEST() local
404 ComparisonOpModel model({TensorType_INT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
405 {TensorType_INT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
415 const float kMin = -1.f; in TEST() local
417 ComparisonOpModel model({TensorType_UINT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
418 {TensorType_UINT8, {1, 2, 2, 1}, kMin, kMax}, in TEST()
428 const float kMin = -127.f; in TEST() local
[all …]
Dsub_test.cc319 const float kMin = -1.f; in TEST() local
323 float kQuantizedTolerance = GetToleranceInt16(kMin, kMax); in TEST()
331 QuantizedSubOpModel m({TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
332 {TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
333 {TensorType_INT16, {}, kMin, kMax}, in TEST()
346 const float kMin = -2.f; in TEST() local
349 float kQuantizedTolerance = GetToleranceInt16(kMin, kMax); in TEST()
357 QuantizedSubOpModel m({TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
358 {TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
359 {TensorType_INT16, {}, kMin, kMax}, in TEST()
[all …]
Dactivations_test.cc192 const float kMin = -1; in TEST() local
196 /*input=*/{TensorType_UINT8, {1, 2, 4, 1}, 8 * kMin, 8 * kMax}, in TEST()
197 /*output=*/{TensorType_UINT8, {1, 2, 4, 1}, 8 * kMin, 8 * kMax}); in TEST()
215 const float kMin = -1; in TEST() local
219 /*input=*/{TensorType_INT8, {1, 2, 4, 1}, 8 * kMin, 8 * kMax}, in TEST()
220 /*output=*/{TensorType_INT8, {1, 2, 4, 1}, 8 * kMin, 8 * kMax}); in TEST()
237 const float kMin = -1; in TEST() local
241 /*input=*/{TensorType_UINT8, {1, 2, 4, 1}, 8 * kMin, 8 * kMax}, in TEST()
242 /*output=*/{TensorType_UINT8, {1, 2, 4, 1}, kMin, kMax}); in TEST()
260 const float kMin = -1; in TEST() local
[all …]
Dmul_test.cc218 const float kMin = -1.f; in TEST() local
220 QuantizedMulOpModel m({TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
221 {TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
222 {TensorType_INT16, {}, kMin, kMax}, in TEST()
Dadd_test.cc226 const float kMin = -1.f; in TEST() local
228 float kQuantizedTolerance = GetToleranceInt16(kMin, kMax); in TEST()
236 QuantizedAddOpModel m({TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
237 {TensorType_INT16, {1, 2, 2, 1}, kMin, kMax}, in TEST()
238 {TensorType_INT16, {}, kMin, kMax}, in TEST()
Dreduce.cc435 kMin, enumerator
461 case kMin: in EvalType()
592 reduce::EvalGeneric<reduce::kReference, reduce::kMin>}; in Register_REDUCE_MIN_REF()
/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc89 void TestCeilOfRatioSigned(int64 kMin, int64 kMax) { in TestCeilOfRatioSigned() argument
98 {0, kMin, 0, 0}, in TestCeilOfRatioSigned()
116 {kMin, 1, kMin, kMin}, in TestCeilOfRatioSigned()
117 {kMin, 2, kMin / 2 - ((kMin % 2 != 0) ? 1 : 0), kMin / 2}, in TestCeilOfRatioSigned()
118 {kMin, 3, kMin / 3 - ((kMin % 3 != 0) ? 1 : 0), kMin / 3}, in TestCeilOfRatioSigned()
124 {1, kMin, -1, 0}, in TestCeilOfRatioSigned()
125 {2, kMin, -1, 0}, in TestCeilOfRatioSigned()
126 {3, kMin, -1, 0}, in TestCeilOfRatioSigned()
128 {kMin, kMin, 1, 1}, in TestCeilOfRatioSigned()
129 {kMin, kMax, -2, -1}, in TestCeilOfRatioSigned()
[all …]
/external/libchrome/base/metrics/
Dsingle_sample_metrics_unittest.cc17 const HistogramBase::Sample kMin = 1; variable
60 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F()
72 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F()
91 Histogram::FactoryGet(kMetricName, kMin, kMax, kBucketCount, in TEST_F()
100 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F()
102 factory->CreateCustomCountsMetric(kMetricName, kMin, kMax, kBucketCount); in TEST_F()
105 factory->CreateCustomCountsMetric(kMetricName2, kMin, kMax, kBucketCount); in TEST_F()
/external/skia/samplecode/
DSampleClipDrawMatch.cpp37 static const float kMin = 100.5f; variable
46 SkRect r = SkRect::MakeLTRB(kMin, kMin, kMax, kMax); in create_rect()
65 convexPath.moveTo(kMin, kMin); in create_convex_path()
67 convexPath.lineTo(kMin, kMax); in create_convex_path()
75 concavePath.moveTo(kMin, kMin); in create_concave_path()
77 concavePath.lineTo(kMax, kMin); in create_concave_path()
81 concavePath.lineTo(kMin, kMax); in create_concave_path()
/external/skqp/samplecode/
DSampleClipDrawMatch.cpp37 static const float kMin = 100.5f; variable
46 SkRect r = SkRect::MakeLTRB(kMin, kMin, kMax, kMax); in create_rect()
65 convexPath.moveTo(kMin, kMin); in create_convex_path()
67 convexPath.lineTo(kMin, kMax); in create_convex_path()
75 concavePath.moveTo(kMin, kMin); in create_concave_path()
77 concavePath.lineTo(kMax, kMin); in create_concave_path()
81 concavePath.lineTo(kMin, kMax); in create_concave_path()
/external/protobuf/src/google/protobuf/stubs/
Dmathlimits.h80 static const Type kMin; member
174 static const Type kMin = SIGNED_INT_MIN(Type); \
177 static const Type kNegMax = kMin; \
194 static const Type kMin = 0; \
253 static const Type kMin; \
Dmathlimits.cc64 const Type MathLimits<Type>::kMin; \
107 const Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
/external/libvpx/libvpx/test/
Davg_test.cc412 const int kMin = -32640; in TEST_P() local
413 const int expected = -kMin * satd_size_; in TEST_P()
414 FillConstant(kMin); in TEST_P()
467 const int kMin = -524280; in TEST_P() local
468 const int expected = -kMin * satd_size_; in TEST_P()
469 FillConstant(kMin); in TEST_P()
513 const int64_t kMin = -32640; in TEST_P() local
514 const int64_t expected = kMin * kMin * txfm_size_; in TEST_P()
515 FillConstant(kMin, 0); in TEST_P()
/external/perfetto/src/trace_processor/
Dsqlite_utils.h282 constexpr auto kMin = in FindLtBound() local
286 return kMin; in FindLtBound()
292 return is_eq ? value : nexttoward(value, kMin); in FindLtBound()
/external/dng_sdk/source/
Ddng_safe_arithmetic.cpp275 const double kMin = in ConvertDoubleToInt32() local
280 if (val > kMin - 1.0 && val < kMax + 1.0) { in ConvertDoubleToInt32()
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.h235 kMin, enumerator
DSkSLGLSLCodeGenerator.cpp474 (*fFunctionClasses)["min"] = FunctionClass::kMin; in writeFunctionCall()
577 case FunctionClass::kMin: in writeFunctionCall()
/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.h237 kMin, enumerator
DSkSLGLSLCodeGenerator.cpp470 (*fFunctionClasses)["min"] = FunctionClass::kMin; in writeFunctionCall()
581 case FunctionClass::kMin: in writeFunctionCall()
/external/libchrome/base/time/
Dtime_unittest.cc1263 constexpr TimeDelta kMin = TimeDelta::Min(); in TEST() local
1264 static_assert(kMin.is_min(), ""); in TEST()
1265 static_assert(kMin == TimeDelta::Min(), ""); in TEST()
1266 static_assert(kMin < TimeDelta::FromDays(-100 * 365), ""); in TEST()
1267 static_assert(kMin < kZero, ""); in TEST()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h820 enum class MinOrMax : uint8_t { kMin, kMax }; enumerator
864 DoubleRegister lhs_below_rhs_src = min_or_max == MinOrMax::kMin ? lhs : rhs; in EmitFloatMinOrMax()
869 DoubleRegister lhs_above_rhs_src = min_or_max == MinOrMax::kMin ? rhs : lhs; in EmitFloatMinOrMax()
879 liftoff::MinOrMax::kMin); in emit_f32_min()
994 liftoff::MinOrMax::kMin); in emit_f64_min()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h943 enum class MinOrMax : uint8_t { kMin, kMax }; enumerator
991 DoubleRegister lhs_below_rhs_src = min_or_max == MinOrMax::kMin ? lhs : rhs; in EmitFloatMinOrMax()
996 DoubleRegister lhs_above_rhs_src = min_or_max == MinOrMax::kMin ? rhs : lhs; in EmitFloatMinOrMax()
1006 liftoff::MinOrMax::kMin); in emit_f32_min()
1121 liftoff::MinOrMax::kMin); in emit_f64_min()
/external/v8/src/mips/
Dconstants-mips.h1172 enum class MaxMinKind : int { kMin = 0, kMax = 1 }; enumerator
Dsimulator-mips.cc2573 if (FPUProcessNaNsAndZeros(a, b, MaxMinKind::kMin, result)) { in FPUMin()
2593 if (!FPUProcessNaNsAndZeros(a, b, MaxMinKind::kMin, result)) { in FPUMinA()
2608 if (!FPUProcessNaNsAndZeros(a, b, MaxMinKind::kMin, result)) { in FPUMaxA()
/external/v8/src/mips64/
Dconstants-mips64.h1206 enum class MaxMinKind : int { kMin = 0, kMax = 1 }; enumerator

12