Searched refs:fn_scope (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | functions.py | 41 def _function_scope_options(self, fn_scope): argument 49 if fn_scope.level == 2: 54 with self.state[_Function] as fn_scope: 58 if fn_scope.level > 2: 65 fn_scope.context_name = function_context_name 74 options=self._function_scope_options(fn_scope).to_ast(), 82 with self.state[_Function] as fn_scope: 87 fn_scope.context_name = function_context_name 92 if fn_scope.level <= 2: 122 options=self._function_scope_options(fn_scope).to_ast(),
|
D | call_trees.py | 104 with self.state[_Function] as fn_scope: 105 fn_scope.context_name = anno.getanno(node, 'function_context_name') 115 with self.state[_Function] as fn_scope: 120 fn_scope.context_name = anno.getanno(node, 'function_context_name')
|
D | control_flow.py | 179 fn_scope = self.state[_Function].scope 192 modified - defined_in - fn_scope.globals - fn_scope.nonlocals)
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | activity_py3_test.py | 80 fn_scope = anno.getanno(fn_node, anno.Static.SCOPE) 81 self.assertScopeIs(fn_scope, ('b', 'c'), ('test_fn',)) 82 self.assertSymbolSetsAre(('b', 'c'), fn_scope.annotations, 'annotations')
|
D | liveness.py | 76 fn_scope = anno.getanno(fn_ast_node, annos.NodeAnno.ARGS_AND_BODY_SCOPE) 79 live_in |= (fn_scope.read - fn_scope.bound)
|
/external/tensorflow/tensorflow/python/autograph/g3doc/ |
D | pyct_tutorial.ipynb | 223 … "fn_scope = anno.getanno(node, annos.NodeAnno.BODY_SCOPE) # Note: tag will be changed soon.\n", 226 "print('read:', fn_scope.read)\n", 227 "print('modified:', fn_scope.modified)"
|