Searched refs:pyobj (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/saved_model/ |
D | nested_structure_coder.py | 65 def _map_structure(self, pyobj, coders): argument 67 if can(pyobj): 69 return do(pyobj, recursion_fn) 71 "No encoder for object [%s] of type [%s]." % (str(pyobj), type(pyobj))) 120 def can_encode(self, pyobj): argument 121 return isinstance(pyobj, list) 163 def can_encode(self, pyobj): argument 164 return _is_tuple(pyobj) 186 def can_encode(self, pyobj): argument 187 return isinstance(pyobj, dict) [all …]
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_python_api.py | 63 pyobj = PyObj_FromPtr(id(s)) 64 self.assertIs(s, pyobj) 67 del pyobj
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_python_api.py | 62 pyobj = PyObj_FromPtr(id(s)) 63 self.assertIs(s, pyobj) 66 del pyobj
|
/external/libxml2/python/ |
D | types.c | 565 PyObject *pyobj; in libxml_xmlXPathObjectPtrWrap() local 569 pyobj = libxml_xmlXPathObjectPtrWrap(setobj); in libxml_xmlXPathObjectPtrWrap() 573 PyList_SetItem(list, i, pyobj); in libxml_xmlXPathObjectPtrWrap()
|
/external/python/cpython2/Python/ |
D | mactoolboxglue.c | 371 int routinename(PyObject *pyobj, object *cobj) { \ 379 return (*PyMacGluePtr_##routinename)(pyobj, cobj); \
|