Home
last modified time | relevance | path

Searched refs:defined_in (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/tools/docs/
Dpretty_docs.py70 if page_info.defined_in:
72 parts.append(str(page_info.defined_in))
110 if page_info.defined_in is not None:
112 parts.append(str(page_info.defined_in))
208 if page_info.defined_in is not None:
210 parts.append(str(page_info.defined_in))
Dparser.py885 def defined_in(self): member in _FunctionPageInfo
888 def set_defined_in(self, defined_in): argument
889 assert self.defined_in is None
890 self._defined_in = defined_in
1004 def defined_in(self): member in _ClassPageInfo
1008 def set_defined_in(self, defined_in): argument
1010 assert self.defined_in is None
1011 self._defined_in = defined_in
1338 def defined_in(self): member in _ModulePageInfo
1341 def set_defined_in(self, defined_in): argument
[all …]
Dparser_test.py198 self.assertEqual(os.path.relpath(__file__, '/'), page_info.defined_in.path)
392 os.path.relpath(test_module.__file__, '/'), page_info.defined_in.path)
431 self.assertEqual(os.path.relpath(__file__, '/'), page_info.defined_in.path)
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow.py195 defined_in = anno.getanno(node, anno.Static.DEFINED_VARS_IN)
202 body_scope, defined_in, node.body)
204 orelse_scope, defined_in, node.orelse)
222 created_in_body = body_scope.modified & returned_from_cond - defined_in
223 created_in_orelse = orelse_scope.modified & returned_from_cond - defined_in
317 defined_in = anno.getanno(node, anno.Static.DEFINED_VARS_IN)
346 undefined_lives = loop_state - defined_in
/external/python/cpython2/Lib/test/
Dtest_pyclbr.py139 def defined_in(item, module): function
148 if defined_in(item, module):
/external/python/cpython3/Lib/test/
Dtest_pyclbr.py133 def defined_in(item, module): function
142 if defined_in(item, module):
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dreaching_definitions_test.py58 defined_in = anno.getanno(node, anno.Static.DEFINED_VARS_IN)
59 defined_in_str = set(str(v) for v in defined_in)