HomeSort by relevance Sort by last modified time
    Searched refs:isfunction (Results 1 - 25 of 36) sorted by null

1 2

  /external/tensorflow/tensorflow/python/util/
function_utils.py 90 if tf_inspect.isfunction(func):
105 if tf_inspect.isfunction(func) or tf_inspect.ismethod(func):
tf_inspect.py 358 def isfunction(object): # pylint: disable=redefined-builtin function
359 """TFDecorator-aware replacement for inspect.isfunction."""
360 return _inspect.isfunction(tf_decorator.unwrap(object)[1])
tf_decorator_test.py 302 self.assertTrue(tf_inspect.isfunction(target))
tf_inspect_test.py 560 self.assertTrue(tf_inspect.isfunction(test_decorated_function))
561 self.assertFalse(tf_inspect.isfunction(TestDecoratedClass))
  /external/python/cpython3/Lib/asyncio/
format_helpers.py 12 if inspect.isfunction(func):
  /external/python/cpython3/Lib/idlelib/
browser.py 196 self.isfunction = isinstance(obj, pyclbr.Function)
201 if self.isfunction:
208 if self.isfunction:
  /external/python/cpython2/Lib/idlelib/
ClassBrowser.py 146 self.isfunction = isinstance(self.cl, pyclbr.Function)
149 if self.isfunction:
155 if self.isfunction:
  /external/tensorflow/tensorflow/python/autograph/pyct/
parser.py 84 if not tf_inspect.isfunction(entity) or entity.__name__ != '<lambda>':
inspect_utils.py 54 if not tf_inspect.isfunction(f):
301 if not tf_inspect.isfunction(entity):
  /external/autotest/frontend/afe/
rpc_handler.py 71 if not inspect.isfunction(attribute):
280 if not inspect.isfunction(attribute):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
inspect.py 10 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
81 But not if ismethod() or isclass() or isfunction() are true.
95 and not isfunction(object)
142 def isfunction(object): function
160 See help(isfunction) for attributes listing."""
161 return bool((isfunction(object) or ismethod(object)) and
239 or isfunction(object)
411 if isfunction(object):
568 if isfunction(object):
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
inspect.py 10 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
81 But not if ismethod() or isclass() or isfunction() are true.
95 and not isfunction(object)
142 def isfunction(object): function
160 See help(isfunction) for attributes listing."""
161 return bool((isfunction(object) or ismethod(object)) and
239 or isfunction(object)
413 if isfunction(object):
566 if isfunction(object):
    [all...]
DocXMLRPCServer.py 88 elif inspect.isfunction(object):
  /external/python/cpython2/Lib/
inspect.py 10 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
81 But not if ismethod() or isclass() or isfunction() are true.
95 and not isfunction(object)
142 def isfunction(object): function
159 See help(isfunction) for a list of attributes."""
160 return bool((isfunction(object) or ismethod(object)) and
238 or isfunction(object)
410 if isfunction(object):
567 if isfunction(object):
    [all...]
DocXMLRPCServer.py 88 elif inspect.isfunction(object):
  /external/python/cpython3/Lib/idlelib/idle_test/
test_browser.py 183 self.assertFalse(self.cbt_C1.isfunction)
185 self.assertTrue(self.cbt_f1.isfunction)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_inspect.py 23 # ismodule, isclass, ismethod, isfunction, istraceback, isframe, iscode,
47 inspect.isframe, inspect.isfunction, inspect.ismethod,
57 other == inspect.isfunction:
80 self.istest(inspect.isfunction, 'mod.spam')
236 functions = inspect.getmembers(mod, inspect.isfunction)
  /external/python/cpython3/Lib/
inspect.py 9 ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
93 But not if ismethod() or isclass() or isfunction() are true.
104 if isclass(object) or ismethod(object) or isfunction(object):
118 if isclass(object) or ismethod(object) or isfunction(object):
158 def isfunction(object): function
175 See help(isfunction) for a list of attributes."""
176 return bool((isfunction(object) or ismethod(object)) and
184 return bool((isfunction(object) or ismethod(object)) and
193 return bool((isfunction(object) or ismethod(object)) and
288 or isfunction(object
    [all...]
  /external/tensorflow/tensorflow/python/autograph/impl/
conversion.py 190 elif tf_inspect.isfunction(o):
233 method_filter = lambda m: tf_inspect.isfunction(m) or tf_inspect.ismethod(m)
api.py 283 if tf_inspect.isfunction(f) or tf_inspect.ismethod(f):
  /external/python/cpython2/Lib/test/
test_inspect.py 27 # ismodule, isclass, ismethod, isfunction, istraceback, isframe, iscode,
51 inspect.isframe, inspect.isfunction, inspect.ismethod,
61 other == inspect.isfunction:
84 self.istest(inspect.isfunction, 'mod.spam')
255 functions = inspect.getmembers(mod, inspect.isfunction)
    [all...]
  /external/tensorflow/tensorflow/python/ops/parallel_for/
control_flow_ops.py 167 if tf_inspect.isfunction(loop_fn):
  /external/tensorflow/tensorflow/tools/docs/
parser.py 50 if not tf_inspect.isfunction(py_object):
140 tf_inspect.isfunction(py_object) or tf_inspect.ismodule(py_object) or
    [all...]
  /external/autotest/client/site_tests/firmware_TouchMTB/
validators.py 67 from inspect import isfunction
186 self.criteria_str = criteria() if isfunction(criteria) else criteria
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
pydoc.py 652 if inspect.isfunction(value): fdict[value] = fdict[key]
    [all...]

Completed in 1164 milliseconds

1 2