/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
H A D | activations_test.py | 51 test_values = np.random.random((2, 5)) 53 result = f([test_values])[0] 54 expected = _ref_softmax(test_values[0]) 65 test_values = np.random.random((2, 2, 3)) * 10 66 result = f([test_values])[0] 67 expected = _ref_softmax(test_values[0, 0]) 93 test_values = np.random.random((2, 5)) 94 result = f([test_values])[0] 95 expected = softplus(test_values) 105 test_values [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
H A D | DDMTest.java | 67 private CommandPacket makeCommand(int type, byte[] test_values) { argument 72 packet.setNextValueAsInt(test_values.length); 73 for (byte b : test_values) { 79 private CommandPacket makeCommand(byte[] test_values) { argument 80 return makeCommand(DDMDebuggee.DDM_TEST_TYPE, test_values); 94 byte[] test_values = new byte[128]; 96 r.nextBytes(test_values); 97 CommandPacket packet = makeCommand(test_values); 100 byte[] expected = DDMDebuggee.calculateExpectedResult(test_values); 120 CommandPacket packet = makeCommand(test_values); [all...] |
/external/python/cpython2/Lib/test/ |
H A 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:
|
H A D | test_cmath.py | 59 self.test_values = open(test_file) 62 self.test_values.close() 239 # test_values in (0, 1) 240 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99] 242 # test_values for functions defined on [-1., 1.] 243 unit_interval = test_values + [-x for x in test_values] + \ 246 # test_values for log, log10, sqrt 247 positive = test_values + [1.] + [1./x for x in test_values] [all...] |
H A D | test_grp.py | 23 def test_values(self): member in class:GroupDatabaseTestCase
|
H A D | test_pwd.py | 9 def test_values(self): member in class:PwdTest
|
H A D | mapping_tests.py | 153 def test_values(self): member in class:BasicTestMappingProtocol 334 def test_values(self): member in class:TestMappingProtocol 335 BasicTestMappingProtocol.test_values(self)
|
H A D | pickletester.py | 1055 test_values = [0.0, 4.94e-324, 1e-310, 7e-308, 6.626e-34, 0.1, 0.5, 1057 test_values = test_values + [-x for x in test_values] 1059 for value in test_values:
|
H A 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:
|
H A D | test_richcmp.py | 168 def test_values(self): member in class:NumberTest
|
H A D | test_complex.py | 434 test_values = (1, 123.0, 10-19j, xcomplex(1+2j), 439 for y in test_values:
|
/external/python/cpython3/Lib/test/ |
H A 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:]:
|
H A D | test_cmath.py | 63 self.test_values = open(test_file) 66 self.test_values.close() 291 # test_values in (0, 1) 292 test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99] 294 # test_values for functions defined on [-1., 1.] 295 unit_interval = test_values + [-x for x in test_values] + \ 298 # test_values for log, log10, sqrt 299 positive = test_values + [1.] + [1./x for x in test_values] [all...] |
H A D | test_grp.py | 23 def test_values(self): member in class:GroupDatabaseTestCase
|
H A D | test_pwd.py | 18 def test_values(self): member in class:PwdTest
|
H A D | mapping_tests.py | 149 def test_values(self): member in class:BasicTestMappingProtocol 327 def test_values(self): member in class:TestMappingProtocol 328 BasicTestMappingProtocol.test_values(self)
|
H A D | test_long.py | 466 test_values = [ 472 test_values.extend(exact_values) 475 test_values.append(2**(p+53) + x) 476 for value in test_values:
|
H A D | test_richcmp.py | 168 def test_values(self): member in class:NumberTest
|
H A D | test_decimal.py | 827 test_values = { 832 for input, expected in test_values.items(): 928 test_values = [ 1077 for fmt, d, result in test_values: 1775 test_values = [Decimal(sign*(2**m + n)) 1780 test_values.extend([ 1804 for value in test_values: 4507 test_values = [ 4520 for fmt, d, result in test_values:
|
H A D | pickletester.py | 1453 test_values = [0.0, 4.94e-324, 1e-310, 7e-308, 6.626e-34, 0.1, 0.5, 1455 test_values = test_values + [-x for x in test_values] 1457 for value in test_values:
|
/external/libmicrohttpd/src/testcurl/ |
H A D | test_urlparse.c | 71 test_values (void *cls, function 111 &test_values,
|
/external/autotest/server/ |
H A D | lab_status_unittest.py | 250 def _assert_lab_status(self, test_values, checker): 253 Decode each JSON string in `test_values`, and call the 257 @param test_values Array of JSON encoded strings representing 260 status values in the `test_values` array. 263 for s in test_values:
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | reduce_precision_test.cc | 74 static const uint32_t test_values[][4] = { member in namespace:xla::__anon25772 216 for (const auto& test_value : test_values) {
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
H A D | bincount_op_test.py | 44 def test_values(self): member in class:BincountTest
|
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessBuffersTests.cpp | 2302 } test_values[] = { { GL_BUFFER_SIZE, "GL_BUFFER_SIZE", 0 }, local 2312 static const glw::GLuint test_dictionary_count = sizeof(test_values) / sizeof(test_values[0]); 2319 m_pGetNamedBufferParameteriv(buffer, test_values[i].pname, &data); 2321 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteriv"); 2323 is_ok &= CheckValue<glw::GLint>(data, test_values[i].expected_data, test_values[i].pname_string, 2332 m_pGetNamedBufferParameteri64v(buffer, test_values[i].pname, &data); 2334 is_ok &= CheckParameterError(test_values[i].pname_string, "glGetNamedBufferParameteri64v"); 2336 is_ok &= CheckValue<glw::GLint64>(data, (glw::GLint64)test_values[ [all...] |