/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 727 x = nd.tolist() 811 rep = result.tolist() if fmt else result.tobytes() 941 rep = result.tolist() if fmt else result.tobytes() 968 lst = ex.tolist() 971 lst = nd.tolist() 1220 self.assertRaises(ValueError, nd.tolist) 1321 self.assertEqual(nd.tolist(), farray(items, (3, 4))) 1414 x = nd[...]; self.assertEqual(x.tolist(), nd.tolist()) 1417 x = mv[...]; self.assertEqual(x.tolist(), nd.tolist()) 1424 self.assertEqual(nd.tolist(), 1) [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_test_util.py | 40 return a.tolist() if isinstance(a, np.ndarray) else a 42 return a.tolist() 46 return np.array(a).tolist() 86 return value.tolist()
|
D | ragged_tensor_value.py | 102 values_as_list = self._values.tolist()
|
/external/python/cpython2/Lib/ |
D | difflib.py | 1823 fromlist,tolist = [],[] 1825 self._split_line(tolist,toline,totext) 1828 while fromlist or tolist: 1833 if tolist: 1834 todata = tolist.pop(0) 1846 fromlist,tolist,flaglist = [],[],[] 1852 tolist.append(self._format_line(1,flag,*todata)) 1856 tolist.append(None) 1858 return fromlist,tolist,flaglist 1894 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument [all …]
|
/external/python/cpython3/Lib/ |
D | difflib.py | 1863 fromlist,tolist = [],[] 1865 self._split_line(tolist,toline,totext) 1868 while fromlist or tolist: 1873 if tolist: 1874 todata = tolist.pop(0) 1886 fromlist,tolist,flaglist = [],[],[] 1892 tolist.append(self._format_line(1,flag,*todata)) 1896 tolist.append(None) 1898 return fromlist,tolist,flaglist 1934 def _convert_flags(self,fromlist,tolist,flaglist,context,numlines): argument [all …]
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_frombuffer.py | 21 self.assertEqual(x[:], a.tolist()) 24 self.assertEqual(x[:], a.tolist()) 42 self.assertEqual(x[:], a.tolist()[1:]) 74 self.assertEqual(x[:], a.tolist()[1:])
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker_v2_test.py | 225 inp_data.tolist(), 230 hidden_weight_data.tolist(), 235 hidden_bias_data.tolist(), 240 sm_weight_data.tolist(), 245 sm_bias_data.tolist(), 262 label_data.tolist(),
|
D | gradient_checker_test.py | 231 inp_data.tolist(), 236 hidden_weight_data.tolist(), 241 hidden_bias_data.tolist(), 246 sm_weight_data.tolist(), 251 sm_bias_data.tolist(), 274 label_data.tolist(),
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_frombuffer.py | 21 self.assertEqual(x[:], a.tolist()) 24 self.assertEqual(x[:], a.tolist()) 71 self.assertEqual(x[:], a.tolist()[1:]) 115 self.assertEqual(x[:], a.tolist()[1:])
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_shuffle_queue_test.py | 256 self.assertEqual([], self.evaluate(dequeued_t).tolist()) 258 self.assertEqual([], self.evaluate(dequeued_t).tolist()) 266 self.assertEqual([], self.evaluate(dequeued_t).tolist()) 268 self.assertEqual([], self.evaluate(dequeued_t).tolist()) 340 results = self.evaluate(dequeued_t).tolist() 353 results = self.evaluate(dequeued_t).tolist() 376 results.extend(zip(float_val, int_val.tolist())) 379 results.extend(zip(float_val, int_val.tolist())) 384 results.append((float_val, int_val.tolist())) 387 results.append((float_val, int_val.tolist())) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | reverse_ops_test.py | 68 self.assertEqual(pval[slices].flatten().tolist(), rval.flatten().tolist())
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 75 self.assertListEqual([0, 1], self.evaluate(x).tolist()) 96 self.assertListEqual([0, 1], self.evaluate(x).tolist()) 167 self.assertListEqual([0, 1], self.evaluate(x).tolist()) 206 self.assertListEqual([0, 1], self.evaluate(x).tolist()) 484 self.assertListEqual([1, 2], self.evaluate(x).tolist()) 500 self.assertListEqual([1, 2], self.evaluate(x).tolist())
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | barrier_ops_test.py | 130 idx = keys_val.tolist().index(k) 166 idx = keys_val.tolist().index(k) 179 idx = keys_val.tolist().index(k) 225 idx = keys_val.tolist().index(k) 247 idx = keys_val.tolist().index(k) 438 idx = keys_val.tolist().index(k) 492 idx = keys_val.tolist().index(k)
|
D | betainc_op_test.py | 151 space = np.logspace(-8, 5).tolist() 152 space_x = np.linspace(1e-16, 1 - 1e-16).tolist()
|
D | inplace_ops_test.py | 200 self.assertEqual(val.tolist(), [[b"", b""]]) 203 self.assertEqual(val.tolist(), [[b"", b""]])
|
/external/tensorflow/tensorflow/contrib/text/python/ops/ |
D | skip_gram_ops_test.py | 230 self.assertNotEqual(tokens_1_eval.tolist(), tokens_2_eval.tolist()) 232 self.assertNotEqual(labels_1_eval.tolist(), labels_2_eval.tolist())
|
/external/skqp/experimental/tools/ |
D | generate-unicode-test-txt | 65 base64.b64decode(valid_codepoint_data))).tolist():
|
/external/skia/experimental/tools/ |
D | generate-unicode-test-txt | 65 base64.b64decode(valid_codepoint_data))).tolist():
|
/external/tensorflow/tensorflow/python/util/ |
D | serialization.py | 48 return obj.tolist()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RaggedRange.pbtxt | 37 >>> print result.eval().tolist()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
D | dask_io.py | 50 divisions = np.cumsum(lengths).tolist()
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
D | test_utils.py | 35 value=ndarray.flatten().tolist()))
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | C_P_A_L_.py | 62 return result.tolist() 70 return result.tolist()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | parallel_interleave_dataset_serialization_test.py | 68 self.num_repeats).tolist()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | io_utils.py | 102 idx = (self.start + key).tolist()
|