Home
last modified time | relevance | path

Searched refs:expected_max (Results 1 – 9 of 9) 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/graph/
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/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator_unittest.cc107 int expected_max) { in VerifyMinMax() argument
112 EXPECT_EQ(expected_max, max_size); in VerifyMinMax()
/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/contrib/learn/python/learn/estimators/
Ddnn_test.py163 def _assertInRange(self, expected_min, expected_max, actual): argument
165 self.assertGreaterEqual(expected_max, actual)
232 def _assertInRange(self, expected_min, expected_max, actual): argument
234 self.assertGreaterEqual(expected_max, actual)
Ddebug_test.py213 def _assertInRange(self, expected_min, expected_max, actual): argument
215 self.assertGreaterEqual(expected_max, actual)
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py649 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): argument
653 setattr(pb, field_name, expected_max)
654 self.assertEqual(expected_max, getattr(pb, field_name))
656 self.assertRaises(ValueError, setattr, pb, field_name, expected_max + 1)