Home
last modified time | relevance | path

Searched refs:ismodule (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/python/framework/
Dcontrib_test.py31 assert tf_inspect.ismodule(tf.contrib)
36 assert tf_inspect.ismodule(tf.contrib.layers)
41 assert tf_inspect.ismodule(tf.contrib.linear_optimizer)
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py33 if not tf_inspect.isclass(root) and not tf_inspect.ismodule(root):
54 if tf_inspect.ismodule(
Dpublic_api.py123 if tf_inspect.ismodule(parent) and len(path.split('.')) > 10:
/external/python/cpython2/Modules/
Dgetpath.c140 ismodule(char *filename) /* Is module -- check for .pyc/.pyo too */ in ismodule() function
272 if (ismodule(prefix)) in search_for_prefix()
282 if (ismodule(prefix)) in search_for_prefix()
292 if (ismodule(prefix)) in search_for_prefix()
471 if (!ismodule(argv0_path)) { in calculate_path()
/external/python/cpython2/Lib/
Dinspect.py51 def ismodule(object): function
399 if ismodule(object):
473 if ismodule(object):
490 if ismodule(module) and hasattr(module, '__file__'):
539 if ismodule(object):
594 if ismodule(object):
695 if (ismodule(object) or
Ddoctest.py200 if inspect.ismodule(module):
392 if not inspect.ismodule(module):
973 if inspect.ismodule(obj) and self._recurse:
983 if inspect.ismodule(obj) and self._recurse:
990 inspect.ismethod(val) or inspect.ismodule(val) or
1062 if inspect.ismodule(obj):
1895 if not inspect.ismodule(m):
2085 if mod is not None and not inspect.ismodule(mod):
Dpydoc.py106 return not (inspect.ismodule(object) or inspect.isclass(object) or
361 if inspect.ismodule(object): return self.docmodule(*args)
665 modules = inspect.getmembers(object, inspect.ismodule)
1129 for key, value in inspect.getmembers(object, inspect.ismodule):
1486 if inspect.ismodule(thing):
1564 elif not (inspect.ismodule(object) or
/external/tensorflow/tensorflow/tools/docs/
Ddoc_generator_visitor.py148 if not (tf_inspect.ismodule(parent) or tf_inspect.isclass(parent)):
198 if tf_inspect.ismodule(container):
Dgenerate_lib.py94 if not (tf_inspect.ismodule(py_object) or tf_inspect.isclass(py_object) or
106 if tf_inspect.ismodule(py_object):
116 if tf_inspect.ismodule(parser_config.index[subname]):
Dparser.py140 tf_inspect.isfunction(py_object) or tf_inspect.ismodule(py_object) or
217 tf_inspect.isclass(obj) or tf_inspect.ismodule(obj) or
1437 if tf_inspect.ismodule(member):
1537 elif tf_inspect.ismodule(py_object):
1718 if (tf_inspect.ismodule(py_object) or tf_inspect.isfunction(py_object) or
/external/python/cpython3/Modules/
Dgetpath.c179 ismodule(wchar_t *filename) /* Is module -- check for .pyc too */ in ismodule() function
371 if (ismodule(prefix)) { in search_for_prefix()
383 if (ismodule(prefix)) { in search_for_prefix()
395 if (ismodule(prefix)) { in search_for_prefix()
698 if (!ismodule(calculate->argv0_path)) { in calculate_argv0_path()
/external/python/cpython2/PC/os2emx/
Dgetpathp.c121 ismodule(char *filename) in ismodule() function
176 ok = ismodule(prefix); in gotlandmark()
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py378 def ismodule(object): # pylint: disable=redefined-builtin function
380 return _inspect.ismodule(tf_decorator.unwrap(object)[1])
Dtf_inspect_test.py569 tf_inspect.ismodule(inspect.getmodule(inspect.currentframe())))
570 self.assertFalse(tf_inspect.ismodule(test_decorated_function))
/external/protobuf/python/
Dstubout.py62 if (inspect.ismodule(obj) or
/external/python/cpython3/Lib/
Ddoctest.py205 if inspect.ismodule(module):
384 if not inspect.ismodule(module):
987 if inspect.ismodule(obj) and self._recurse:
998 if inspect.ismodule(obj) and self._recurse:
1005 inspect.ismodule(val) or isinstance(val, str)):
1076 if inspect.ismodule(obj):
1932 if not inspect.ismodule(m):
Dinspect.py63 def ismodule(object): function
644 if ismodule(object):
716 if ismodule(object):
733 if ismodule(module) and hasattr(module, '__file__'):
788 if ismodule(object):
843 if ismodule(object):
961 if (ismodule(object) or
1419 if ismodule(builtin_ns):
2090 self_ismodule = ismodule(_self)
Dpydoc.py115 return not (inspect.ismodule(object) or inspect.isclass(object) or
155 return not (inspect.ismodule(self) or (self is None))
385 if inspect.ismodule(object): return self.docmodule(*args)
690 modules = inspect.getmembers(object, inspect.ismodule)
1169 for key, value in inspect.getmembers(object, inspect.ismodule):
1578 if inspect.ismodule(thing):
1655 if not (inspect.ismodule(object) or
Dpdb.py110 elif inspect.ismodule(obj):
/external/python/cpython2/PC/
Dgetpathp.c128 ismodule(char *filename) /* Is module -- check for .pyc/.pyo too */ in ismodule() function
183 ok = ismodule(prefix); in gotlandmark()
/external/tensorflow/tensorflow/tools/api/lib/
Dpython_object_to_proto_visitor.py206 if tf_inspect.ismodule(parent):
/external/tensorflow/tensorflow/python/platform/
Dgoogletest.py184 if (tf_inspect.ismodule(obj) or
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py162 if tf_inspect.ismodule(value) and id(value) not in visited:
/external/python/cpython3/PC/
Dgetpathp.c204 ismodule(wchar_t *filename, int update_filename) in ismodule() function
315 ok = ismodule(prefix, FALSE); in gotlandmark()
/external/python/cpython2/Lib/test/
Dtest_inspect.py52 inspect.ismodule, inspect.istraceback,
87 self.istest(inspect.ismodule, 'mod')

12