Home
last modified time | relevance | path

Searched refs:caller_fn_scope (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins.py71 def _find_originating_frame(caller_fn_scope, innermost=True): argument
79 if ctx_frame.f_locals.get(caller_fn_scope.name, None) is caller_fn_scope:
92 def locals_in_original_context(caller_fn_scope): argument
94 return _find_originating_frame(caller_fn_scope, innermost=True).f_locals
97 def globals_in_original_context(caller_fn_scope): argument
99 return _find_originating_frame(caller_fn_scope, innermost=True).f_globals
102 def eval_in_original_context(f, args, caller_fn_scope): argument
107 ctx_frame = _find_originating_frame(caller_fn_scope, innermost=True)
117 def super_in_original_context(f, args, caller_fn_scope): argument
144 ctx_frame = _find_originating_frame(caller_fn_scope, innermost=False)
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py318 caller_fn_scope=None, argument
349 if caller_fn_scope is None:
351 options = caller_fn_scope.callopts
380 caller_fn_scope=caller_fn_scope,
385 return py_builtins.eval_in_original_context(f, args, caller_fn_scope)
387 return py_builtins.super_in_original_context(f, args, caller_fn_scope)
389 return py_builtins.globals_in_original_context(caller_fn_scope)
391 return py_builtins.locals_in_original_context(caller_fn_scope)
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py35 def __call__(self, f, args, kwargs, caller_fn_scope=None, options=None): argument
36 del caller_fn_scope, options