Home
last modified time | relevance | path

Searched refs:expected_max (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantize_down_and_shrink_range_op_test.cc65 Tensor expected_max(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
66 test::FillValues<float>(&expected_max, {1.0f}); in TEST_F()
67 test::ExpectTensorEqual<float>(expected_max, *GetOutput(2)); in TEST_F()
Drequantization_range_op_test.cc65 Tensor expected_max(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
66 test::FillValues<float>(&expected_max, {1.0f}); in TEST_F()
67 test::ExpectTensorEqual<float>(expected_max, *GetOutput(1)); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantize_op_test.cc57 Tensor expected_max(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
62 test::FillValues<float>(&expected_max, {255.0}); in TEST_F()
65 test::ExpectTensorEqual<float>(expected_max, *GetOutput(2)); in TEST_F()
90 Tensor expected_max(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
94 test::FillValues<float>(&expected_max, {127.0}); in TEST_F()
96 test::ExpectTensorEqual<float>(expected_max, *GetOutput(2)); in TEST_F()
/external/webrtc/modules/audio_processing/agc2/
Dfixed_digital_level_estimator_unittest.cc33 float expected_max) { in TestLevelEstimator() argument
52 EXPECT_LE(x, expected_max); in TestLevelEstimator()
/external/libchrome/base/android/
Drecord_histogram.cc54 int32_t expected_max, in JNI_RecordHistogram_CheckHistogramArgs() argument
59 histogram_name, &expected_min, &expected_max, &expected_bucket_count); in JNI_RecordHistogram_CheckHistogramArgs()
61 DCHECK(histogram->HasConstructionArguments(expected_min, expected_max, in JNI_RecordHistogram_CheckHistogramArgs()
63 << histogram_name << "/" << expected_min << "/" << expected_max << "/" in JNI_RecordHistogram_CheckHistogramArgs()
/external/tensorflow/tensorflow/core/common_runtime/
Dquantize_training_test.cc439 const float expected_max = 3.0 * decay + 4.0 * (1.0 - decay); in TEST_F() local
441 EXPECT_NEAR(outputs[1].flat<float>()(0), expected_max, 1e-4); in TEST_F()
533 const float expected_max = 3.0 * decay + 4.0 * (1.0 - decay); in TEST_F() local
535 EXPECT_NEAR(outputs[1].flat<float>()(0), expected_max, 1e-4); in TEST_F()
/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker_test.cc195 const int expected_max = int(1.1 * trials); in CheckUniform() local
198 EXPECT_LE(count[i], expected_max); in CheckUniform()
/external/libchrome/base/metrics/
Dsparse_histogram_unittest.cc347 int64_t expected_max; in TEST_P() member
374 EXPECT_EQ(cases[i].expected_max, max); in TEST_P()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator_test.cc241 const float expected_max[7] = { in TEST() local
255 expected_max[tensor_idx], eps); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py688 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): argument
691 expected_max = integer_fn(expected_max)
694 setattr(pb, field_name, expected_max)
695 self.assertEqual(expected_max, getattr(pb, field_name))
699 expected_max + 1)