Home
last modified time | relevance | path

Searched refs:context_stack (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/framework/experimental/
Dtape.py22 from tensorflow.python.framework.experimental import context_stack
32 ctx = context_stack.get_default()
42 ctx = context_stack.get_default()
51 self._ctx_manager = context_stack.set_default(self._tape_context)
DBUILD93 ":context_stack",
103 ":context_stack",
113 ":context_stack",
132 name = "context_stack",
133 srcs = ["context_stack.py"],
151 ":context_stack",
Dnn_ops.py22 from tensorflow.python.framework.experimental import context_stack as context
Dmath_ops.py22 from tensorflow.python.framework.experimental import context_stack as context
Ddef_function.py22 from tensorflow.python.framework.experimental import context_stack as context_lib
Dunified_api_test.py31 from tensorflow.python.framework.experimental import context_stack as context_lib
/external/rust/crates/tinytemplate/src/
Dtemplate.rs37 context_stack: Vec<ContextElement<'render, 'template>>, field
43 for stack_layer in self.context_stack.iter().rev() { in lookup()
85 for stack_layer in self.context_stack.iter().rev() { in lookup_index()
98 match self.context_stack.get(0) { in lookup_root()
161 context_stack: vec![ContextElement::Object(context)], in render_into()
245 .context_stack in render_into()
262 render_context.context_stack.push(ContextElement::Iteration( in render_into()
275 render_context.context_stack.pop(); in render_into()
282 match render_context.context_stack.last_mut() { in render_into()
/external/tensorflow/tensorflow/python/framework/
Dtest_combinations.py363 with contextlib.ExitStack() as context_stack:
365 context_stack.enter_context(manager)