Home
last modified time | relevance | path

Searched refs:expected_min (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantize_down_and_shrink_range_op_test.cc62 Tensor expected_min(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
63 test::FillValues<float>(&expected_min, {-1.0f}); in TEST_F()
64 test::ExpectTensorEqual<float>(expected_min, *GetOutput(1)); in TEST_F()
Drequantization_range_op_test.cc62 Tensor expected_min(allocator(), DT_FLOAT, TensorShape({})); in TEST_F() local
63 test::FillValues<float>(&expected_min, {-1.0f}); in TEST_F()
64 test::ExpectTensorEqual<float>(expected_min, *GetOutput(0)); in TEST_F()
/external/tensorflow/tensorflow/core/graph/
Dquantize_training_test.cc438 const float expected_min = 0.0 * decay + 1.0 * (1.0 - decay); in TEST_F() local
440 EXPECT_NEAR(outputs[0].flat<float>()(0), expected_min, 1e-4); in TEST_F()
532 const float expected_min = 0.0 * decay + 1.0 * (1.0 - decay); in TEST_F() local
534 EXPECT_NEAR(outputs[0].flat<float>()(0), expected_min, 1e-4); in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator_unittest.cc106 int expected_min, in VerifyMinMax() argument
111 EXPECT_EQ(expected_min, min_size); in VerifyMinMax()
/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker_test.cc194 const int expected_min = int(0.9 * trials); in CheckUniform() local
197 EXPECT_GE(count[i], expected_min); in CheckUniform()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Ddnn_test.py163 def _assertInRange(self, expected_min, expected_max, actual): argument
164 self.assertLessEqual(expected_min, actual)
232 def _assertInRange(self, expected_min, expected_max, actual): argument
233 self.assertLessEqual(expected_min, actual)
Ddebug_test.py213 def _assertInRange(self, expected_min, expected_max, actual): argument
214 self.assertLessEqual(expected_min, actual)
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py649 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): argument
651 setattr(pb, field_name, expected_min)
652 self.assertEqual(expected_min, getattr(pb, field_name))
655 self.assertRaises(ValueError, setattr, pb, field_name, expected_min - 1)