Home
last modified time | relevance | path

Searched refs:NodeAnno (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dactivity_test.py35 NodeAnno = annos.NodeAnno variable
197 print_args_scope = anno.getanno(print_node, NodeAnno.ARGS_SCOPE)
203 print_args_scope = anno.getanno(print_node, NodeAnno.ARGS_SCOPE)
221 anno.getanno(call_node, NodeAnno.ARGS_SCOPE), ('a', 'b'), ())
236 anno.getanno(call_node, NodeAnno.ARGS_SCOPE), ('a', 'a.b', 'a.c'), ())
252 anno.getanno(call_node, NodeAnno.ARGS_SCOPE),
267 anno.getanno(while_node, NodeAnno.BODY_SCOPE), ('b',), ('b', 'c'))
269 anno.getanno(while_node, NodeAnno.BODY_SCOPE).parent, ('a', 'b', 'c'),
272 anno.getanno(while_node, NodeAnno.COND_SCOPE), ('b',), ())
286 anno.getanno(for_node, NodeAnno.ITERATE_SCOPE), (), ('_'))
[all …]
Dactivity_py3_test.py28 NodeAnno = annos.NodeAnno variable
45 body_scope = anno.getanno(fn_node, NodeAnno.BODY_SCOPE)
61 body_scope = anno.getanno(fn_node, NodeAnno.BODY_SCOPE)
84 body_scope = anno.getanno(fn_node, NodeAnno.BODY_SCOPE)
Dactivity.py33 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
455 anno.setanno(node, NodeAnno.ARGS_SCOPE, node_scope)
466 self._exit_and_record_scope(node, tag=NodeAnno.ARGS_SCOPE)
602 self._exit_and_record_scope(node, NodeAnno.BODY_SCOPE)
604 self._exit_and_record_scope(node, NodeAnno.ARGS_AND_BODY_SCOPE)
637 self._exit_and_record_scope(node, NodeAnno.BODY_SCOPE)
640 self._exit_and_record_scope(node, NodeAnno.ARGS_AND_BODY_SCOPE)
652 self._exit_and_record_scope(node, NodeAnno.BODY_SCOPE)
662 anno.setanno(node, NodeAnno.COND_SCOPE, node_scope)
665 ((node.body, NodeAnno.BODY_SCOPE),
[all …]
Dliveness_py3_test.py27 NodeAnno = annos.NodeAnno variable
Dannos.py33 class NodeAnno(NoValue): class
Dliveness.py76 fn_scope = anno.getanno(fn_ast_node, annos.NodeAnno.ARGS_AND_BODY_SCOPE)
Dtype_inference.py601 scope = anno.getanno(node, annos.NodeAnno.ARGS_AND_BODY_SCOPE)
/external/tensorflow/tensorflow/python/autograph/converters/
Dcontrol_flow.py53 fn.scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
207 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
208 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE)
264 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
314 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
315 iter_scope = anno.getanno(node, annos.NodeAnno.ITERATE_SCOPE)
Dbreak_statements.py26 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
77 scope = anno.getanno(node, NodeAnno.BODY_SCOPE)
123 scope = anno.getanno(node, NodeAnno.BODY_SCOPE)
Dcontrol_flow_deprecated_py2.py201 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
202 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE)
372 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
406 anno.getanno(node, annos.NodeAnno.BODY_SCOPE).modified)
495 node, (anno.getanno(node, annos.NodeAnno.BODY_SCOPE).modified
496 | anno.getanno(node, annos.NodeAnno.ITERATE_SCOPE).modified))
Dcontinue_statements.py26 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
102 scope = anno.getanno(node, NodeAnno.BODY_SCOPE)
Dlists.py42 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
93 scope = anno.getanno(node, NodeAnno.ARGS_SCOPE)
Dfunctions.py83 scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
Dreturn_statements.py29 from tensorflow.python.autograph.pyct.static_analysis.annos import NodeAnno
346 scope = anno.getanno(node, NodeAnno.BODY_SCOPE)
/external/tensorflow/tensorflow/python/tf_program/
Dmlir_gen.py241 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
242 orelse_scope = anno.getanno(node, annos.NodeAnno.ORELSE_SCOPE)
354 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
375 body_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE)
/external/tensorflow/tensorflow/python/autograph/g3doc/
Dpyct_tutorial.ipynb223 … "fn_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) # Note: tag will be changed soon.\n",