Searched refs:python_callable (Results 1 – 3 of 3) sorted by relevance
/external/python/cffi/cffi/ |
D | api.py | 380 def callback(self, cdecl, python_callable=None, error=None, onerror=None): argument 388 def callback_decorator_wrap(python_callable): argument 389 if not callable(python_callable): 392 return self._backend.callback(cdecl, python_callable, 396 if python_callable is None: 399 return callback_decorator_wrap(python_callable) # direct mode
|
/external/python/cffi/c/ |
D | ffi_obj.c | 793 PyObject *c_decl, *python_callable = Py_None, *error = Py_None; in ffi_callback() local 799 &c_decl, &python_callable, &error, in ffi_callback() 808 args = Py_BuildValue("(OOOO)", c_decl, python_callable, error, onerror); in ffi_callback() 812 if (python_callable != Py_None) { in ffi_callback()
|
/external/tensorflow/tensorflow/python/ops/ |
D | variable_scope.py | 273 def _needs_no_arguments(python_callable): argument 279 num_arguments = len(tf_inspect.getargspec(python_callable).args) 280 if not tf_inspect.isfunction(python_callable) and not isinstance( 281 python_callable, functools.partial): 288 tf_inspect.getargspec(python_callable).defaults or [])
|