HomeSort by relevance Sort by last modified time
    Searched refs:pylist (Results 1 - 14 of 14) sorted by null

  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_const_op_test.py 39 dict(pylist=b'x', expected_shape=()),
43 dict(pylist=[1, 2, 3], expected_shape=(3,)),
47 dict(pylist=[[1, 2, 3], [4], [5, 6]], expected_shape=(3, None)),
48 dict(pylist=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], expected_shape=(3, None)),
53 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstOpTest
56 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstOpTest
60 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstOpTest
64 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstOpTest
71 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstOpTest
75 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]] variable in class:RaggedConstOpTest
80 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstOpTest
85 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstOpTest
95 pylist=[[[], []], [], [[], [[]]]], variable in class:RaggedConstOpTest
104 pylist=[], variable in class:RaggedConstOpTest
109 pylist=[], variable in class:RaggedConstOpTest
    [all...]
ragged_constant_value_op_test.py 38 dict(pylist='x', expected_shape=()),
42 dict(pylist=[1, 2, 3], expected_shape=(3,)),
46 dict(pylist=[[1, 2, 3], [4], [5, 6]], expected_shape=(3, None)),
47 dict(pylist=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], expected_shape=(3, None)),
52 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstantValueOpTest
55 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstantValueOpTest
59 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstantValueOpTest
63 pylist=[[[1, 2], [3, 4]], [], [[5, 6], [7, 8], [9, 0]]], variable in class:RaggedConstantValueOpTest
70 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstantValueOpTest
74 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]] variable in class:RaggedConstantValueOpTest
79 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstantValueOpTest
84 pylist=[[[[1, 2], [3, 4]], [[5, 6], [7, 8]]], variable in class:RaggedConstantValueOpTest
94 pylist=[[[], []], [], [[], [[]]]], variable in class:RaggedConstantValueOpTest
103 pylist=[], variable in class:RaggedConstantValueOpTest
108 pylist=[], variable in class:RaggedConstantValueOpTest
140 pylist=[[b'a', b'b'], [b'c'], [b'd', b'e', b'f']], variable in class:RaggedConstantValueOpTest
    [all...]
ragged_eager_test.py 33 dict(pylist=[[b'a', b'b'], [b'c']]),
34 dict(pylist=[[[1, 2], [3]], [[4, 5, 6], [], [7]]]),
35 dict(pylist=[[[1, 2], [3, 4]], [[5, 6], [], [7, 8]]], ragged_rank=1),
37 def testRaggedTensorToList(self, pylist, ragged_rank=None):
38 rt = ragged_factory_ops.constant(pylist, ragged_rank)
39 self.assertRaggedEqual(rt, pylist)
42 dict(pylist=[[b'a', b'b'], [b'c']]),
43 dict(pylist=[[[1, 2], [3]], [[4, 5, 6], [], [7]]]),
45 def testRaggedTensorStr(self, pylist):
46 rt = ragged_factory_ops.constant(pylist)
    [all...]
ragged_factory_ops.py 34 def constant(pylist, dtype=None, ragged_rank=None, inner_shape=None, name=None):
44 All scalar values in `pylist` must have the same nesting depth `K`, and the
45 returned `RaggedTensor` will have rank `K`. If `pylist` contains no scalar
47 `pylist`. All scalar values in `pylist` must be compatible with `dtype`.
50 pylist: A nested `list` or `tuple`. Any nested element that is not a `list`
54 `pylist`.
62 based on the contents of `pylist`.
67 containing the values from `pylist`.
70 ValueError: If the scalar values in `pylist` have inconsistent nestin
    [all...]
convert_to_tensor_or_ragged_tensor_op_test.py 41 dict(pylist=[[1, 2], [3]]),
42 dict(pylist=[[1, 2], [3]], preferred_dtype=dtypes.float32),
43 dict(pylist=[[1, 2], [3]], preferred_dtype=dtypes.string),
45 def testConvertRaggedTensor(self, pylist, dtype=None, preferred_dtype=None):
46 rt = ragged_factory_ops.constant(pylist)
53 pylist=[[1, 2], [3, 4]],
58 pylist=[[1, 2], [3, 4]],
64 pylist,
68 rt = ragged_factory_ops.constant(pylist)
135 dict(pylist=[[1, 2], [3, 4]])
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
selectmodule.c 67 } pylist; typedef in typeref:struct:__anon5216
70 reap_obj(pylist fd2obj[FD_SETSIZE + 1])
85 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
149 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
198 pylist *rfd2obj, *wfd2obj, *efd2obj;
206 pylist rfd2obj[FD_SETSIZE + 1];
207 pylist wfd2obj[FD_SETSIZE + 1];
208 pylist efd2obj[FD_SETSIZE + 1];
251 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
252 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
selectmodule.c 78 } pylist; typedef in typeref:struct:__anon5517
81 reap_obj(pylist fd2obj[FD_SETSIZE + 1])
95 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
156 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
198 pylist *rfd2obj, *wfd2obj, *efd2obj;
206 pylist rfd2obj[FD_SETSIZE + 1];
207 pylist wfd2obj[FD_SETSIZE + 1];
208 pylist efd2obj[FD_SETSIZE + 1];
251 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
252 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
selectmodule.c 67 } pylist; typedef in typeref:struct:__anon5787
70 reap_obj(pylist fd2obj[FD_SETSIZE + 1])
85 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
149 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
198 pylist *rfd2obj, *wfd2obj, *efd2obj;
206 pylist rfd2obj[FD_SETSIZE + 1];
207 pylist wfd2obj[FD_SETSIZE + 1];
208 pylist efd2obj[FD_SETSIZE + 1];
251 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
252 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
    [all...]
  /external/python/cpython2/Modules/
selectmodule.c 67 } pylist; typedef in typeref:struct:__anon36786
70 reap_obj(pylist fd2obj[FD_SETSIZE + 1])
84 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
145 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
187 pylist *rfd2obj, *wfd2obj, *efd2obj;
195 pylist rfd2obj[FD_SETSIZE + 1];
196 pylist wfd2obj[FD_SETSIZE + 1];
197 pylist efd2obj[FD_SETSIZE + 1];
240 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
241 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
pickletools.py 773 pylist = StackObject( variable
    [all...]
  /external/python/cpython2/Lib/
pickletools.py 773 pylist = StackObject( variable
    [all...]
  /external/python/cpython3/Modules/
selectmodule.c 66 } pylist; typedef in typeref:struct:__anon37415
69 reap_obj(pylist fd2obj[FD_SETSIZE + 1])
83 seq2set(PyObject *seq, fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
144 set2list(fd_set *set, pylist fd2obj[FD_SETSIZE + 1])
186 pylist *rfd2obj, *wfd2obj, *efd2obj;
194 pylist rfd2obj[FD_SETSIZE + 1];
195 pylist wfd2obj[FD_SETSIZE + 1];
196 pylist efd2obj[FD_SETSIZE + 1];
235 rfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1);
236 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1)
    [all...]
main.c 1323 PyObject *pylist = PyList_New(len); local
    [all...]
  /external/python/cpython3/Lib/
pickletools.py 988 pylist = StackObject( variable
    [all...]

Completed in 2853 milliseconds