/external/tensorflow/tensorflow/python/keras/ |
D | activations_test.py | 81 test_values = np.random.random((2, 5)) 83 result = f([test_values])[0] 84 expected = _ref_softmax(test_values[0]) 94 test_values = np.random.random((2, 5)) 95 result = f([test_values])[0] 98 expected[:, i] = _ref_softmax(test_values[:, i]) 104 test_values = np.random.random((2, 3, 5)) 105 result = f([test_values])[0] 108 expected[i, :, :] = _ref_softmax(test_values[i, :, :]) 114 test_values = np.random.random((2, 2, 3)) * 10 [all …]
|
/external/grpc-grpc/test/core/debug/ |
D | stats_test.cc | 88 auto run = [kHistogram](const std::vector<int>& test_values, in TEST_P() 91 test_values.size()); in TEST_P() 92 for (auto j : test_values) { in TEST_P() 108 std::vector<int> test_values; in TEST_P() local 118 [test_values, run, cur_bucket]() { run(test_values, cur_bucket); }); in TEST_P() 120 test_values.clear(); in TEST_P() 122 test_values.push_back(j); in TEST_P() 132 run(test_values, cur_bucket); in TEST_P()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
D | DDMTest.java | 67 private CommandPacket makeCommand(int type, byte[] test_values) { in makeCommand() argument 72 packet.setNextValueAsInt(test_values.length); in makeCommand() 73 for (byte b : test_values) { in makeCommand() 79 private CommandPacket makeCommand(byte[] test_values) { in makeCommand() argument 80 return makeCommand(DDMDebuggee.DDM_TEST_TYPE, test_values); in makeCommand() 94 byte[] test_values = new byte[128]; in testChunk001() 96 r.nextBytes(test_values); in testChunk001() 97 CommandPacket packet = makeCommand(test_values); in testChunk001() 100 byte[] expected = DDMDebuggee.calculateExpectedResult(test_values); in testChunk001() 120 CommandPacket packet = makeCommand(test_values); in testChunk001() [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_param.c | 40 static const int64_t test_values[] = { in set_priority() local 63 size = ARRAY_SIZE(test_values); in set_priority() 64 values = malloc(sizeof(test_values) * 8); in set_priority() 68 values[i + 0*size] = test_values[i]; in set_priority() 69 values[i + 1*size] = test_values[i] | (uint64_t)1 << 32; in set_priority() 70 values[i + 2*size] = test_values[i] | (uint64_t)rand() << 32; in set_priority() 71 values[i + 3*size] = test_values[i] ^ rand(); in set_priority() 75 values[i + 7*size] = (uint64_t)test_values[i] << 32; in set_priority()
|
/external/python/cpython2/Lib/test/ |
D | test_xpickle.py | 137 test_values = [0.0, 7e-308, 6.626e-34, 0.1, 0.5, 139 test_proto0_values = test_values + [-x for x in test_values] 140 test_values = test_proto0_values + for_bin_protos + neg_for_bin_protos 148 for value in test_values:
|
D | test_cmath.py | 59 self.test_values = open(test_file) 62 self.test_values.close() 240 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99] 243 unit_interval = test_values + [-x for x in test_values] + \ 247 positive = test_values + [1.] + [1./x for x in test_values]
|
D | test_grp.py | 23 def test_values(self): member in GroupDatabaseTestCase
|
D | test_pwd.py | 9 def test_values(self): member in PwdTest
|
D | mapping_tests.py | 154 def test_values(self): member in BasicTestMappingProtocol 335 def test_values(self): member in TestMappingProtocol 336 BasicTestMappingProtocol.test_values(self)
|
D | test_decimal.py | 601 test_values = { 606 for input, expected in test_values.items(): 690 test_values = [ 834 for fmt, d, result in test_values: 1339 test_values = [Decimal(sign*(2**m + n)) 1344 test_values.extend([ 1367 for value in test_values:
|
D | pickletester.py | 1098 test_values = [0.0, 4.94e-324, 1e-310, 7e-308, 6.626e-34, 0.1, 0.5, 1100 test_values = test_values + [-x for x in test_values] 1102 for value in test_values:
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | exhaustive_op_test_utils.h | 363 std::vector<ComponentNativeRefT> test_values; 365 test_values.reserve(relaxed_denormal_signs_ ? 3 : 2); 366 test_values.push_back(std::copysign(0, value)); 367 test_values.push_back(std::copysign( 370 test_values.push_back(std::copysign(0, -value)); 373 test_values.push_back(value); 375 return test_values; 389 std::vector<complex> test_values; 390 test_values.reserve(real_values.size() * imag_values.size()); 393 test_values.push_back(complex(real, imag)); [all …]
|
D | reduce_precision_test.cc | 462 const Uint (&test_values)[kNumInputs][kNumTestcases], 497 const Uint (&test_values)[kNumInputs][kNumTestcases], int operation_index) { in DoIt() 506 for (const auto& test_value : test_values) { in DoIt()
|
/external/python/cpython3/Lib/test/ |
D | test_numeric_tower.py | 91 test_values = [0.0, -0.0, 1.0, -1.0, 0.40625, -5136.5, 95 for value in test_values: 150 test_values = [ 170 for i, first in enumerate(test_values): 171 for second in test_values[i+1:]:
|
D | test_cmath.py | 63 self.test_values = open(test_file, encoding="utf-8") 66 self.test_values.close() 291 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99] 294 unit_interval = test_values + [-x for x in test_values] + \ 298 positive = test_values + [1.] + [1./x for x in test_values]
|
D | test_grp.py | 24 def test_values(self): member in GroupDatabaseTestCase
|
D | test_pwd.py | 10 def test_values(self): member in PwdTest
|
D | mapping_tests.py | 150 def test_values(self): member in BasicTestMappingProtocol 328 def test_values(self): member in TestMappingProtocol 329 BasicTestMappingProtocol.test_values(self)
|
D | test_long.py | 470 test_values = [ 476 test_values.extend(exact_values) 479 test_values.append(2**(p+53) + x) 480 for value in test_values:
|
/external/python/rsa/tests/ |
D | test_common.py | 23 def test_values(self): member in TestByte 33 def test_values(self): member in TestByteSize 62 def test_values(self): member in TestBitSize
|
D | test_pem.py | 47 def test_values(self): member in TestMarkers
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | non_max_suppression_test.cc | 56 void MatchFirstNElements(int num_elements, const std::vector<T>& test_values, in MatchFirstNElements() argument 58 EXPECT_LT(num_elements, test_values.size()); in MatchFirstNElements() 62 EXPECT_EQ(test_values[i], reference_values[i]); in MatchFirstNElements()
|
/external/autotest/server/ |
D | lab_status_unittest.py | 256 def _assert_lab_status(self, test_values, checker): argument 269 for s in test_values:
|
/external/grpc-grpc/test/core/gpr/ |
D | time_test.cc | 62 static void test_values(void) { in test_values() function 259 test_values(); in main()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessBuffersTests.cpp | 2297 } test_values[] = { { GL_BUFFER_SIZE, "GL_BUFFER_SIZE", 0 }, in iterate() local 2307 static const glw::GLuint test_dictionary_count = sizeof(test_values) / sizeof(test_values[0]); in iterate() 2314 m_pGetNamedBufferParameteriv(buffer, test_values[i].pname, &data); in iterate() 2316 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteriv"); in iterate() 2318 is_ok &= CheckValue<glw::GLint>(data, test_values[i].expected_data, test_values[i].pname_string, in iterate() 2327 m_pGetNamedBufferParameteri64v(buffer, test_values[i].pname, &data); in iterate() 2329 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteri64v"); in iterate() 2331 is_ok &= CheckValue<glw::GLint64>(data, (glw::GLint64)test_values[i].expected_data, in iterate() 2332 test_values[i].pname_string, "glGetNamedBufferParameteri64v"); in iterate()
|