Home
last modified time | relevance | path

Searched refs:current_scope (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/contrib/framework/python/ops/
Darg_scope.py135 current_scope = list_ops_or_scope.copy()
137 _get_arg_stack().append(current_scope)
138 yield current_scope
147 current_scope = current_arg_scope().copy()
153 if key in current_scope:
154 current_kwargs = current_scope[key].copy()
156 current_scope[key] = current_kwargs
158 current_scope[key] = kwargs.copy()
159 _get_arg_stack().append(current_scope)
160 yield current_scope
[all …]
Darg_scope_test.py88 current_scope = {key_op: func1_kwargs.copy()}
91 self.assertDictEqual(scope, current_scope)
101 current_scope = {
108 self.assertDictEqual(scope, current_scope)
113 current_scope = {key_op: func1_kwargs.copy()}
118 self.assertDictEqual(scope, current_scope)
/external/mesa3d/src/mesa/program/
Dsymbol_table.c79 struct scope_level *current_scope; member
88 struct scope_level *const scope = table->current_scope; in _mesa_symbol_table_pop_scope()
91 table->current_scope = scope->next; in _mesa_symbol_table_pop_scope()
126 scope->next = table->current_scope; in _mesa_symbol_table_push_scope()
127 table->current_scope = scope; in _mesa_symbol_table_push_scope()
204 new_sym->next_with_same_scope = table->current_scope->symbols; in _mesa_symbol_table_add_symbol()
208 table->current_scope->symbols = new_sym; in _mesa_symbol_table_add_symbol()
249 for (top_scope = table->current_scope; top_scope->next != NULL; in _mesa_symbol_table_add_global_symbol()
307 while (table->current_scope != NULL) { in _mesa_symbol_table_dtor()
/external/pdfium/
DPRESUBMIT.py205 current_scope = []
211 scopes.append(current_scope)
212 current_scope = []
216 current_scope.append((line_num, line))
217 scopes.append(current_scope)
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py1330 self.current_scope = VariableScope(False)
1364 return get_variable_scope_store().current_scope
1885 self._old = self._var_scope_store.current_scope
1933 self._var_scope_store.current_scope = variable_scope_object
1942 self._var_scope_store.current_scope = self._old
1968 current_scope = get_variable_scope()
1969 name = current_scope.name + "/" + prefix if current_scope.name else prefix
Dsummary_ops_v2.py580 current_scope = ops.get_name_scope()
581 tag = current_scope + "/" + name if current_scope else name
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py594 current_scope = variable_scope.get_variable_scope()
595 default_use_recource = current_scope.use_resource
596 current_scope.set_use_resource(True)
702 current_scope.set_use_resource(default_use_recource)
/external/v8/src/ast/
Dscopes.cc406 Scope* current_scope = nullptr; in DeserializeScopeChain() local
463 if (current_scope != nullptr) { in DeserializeScopeChain()
464 outer_scope->AddInnerScope(current_scope); in DeserializeScopeChain()
466 current_scope = outer_scope; in DeserializeScopeChain()
467 if (innermost_scope == nullptr) innermost_scope = current_scope; in DeserializeScopeChain()
473 script_scope->AddInnerScope(current_scope); in DeserializeScopeChain()
/external/antlr/runtime/Ruby/lib/antlr3/
Dtask.rb54 @namespace = Rake.application.current_scope
/external/v8/src/interpreter/
Dbytecode-generator.cc787 : generator_(generator), outer_scope_(generator->current_scope()) { in CurrentScope()
794 if (outer_scope_ != generator_->current_scope()) { in ~CurrentScope()
1165 CurrentScope current_scope(this, stmt->scope()); in VisitBlock() local
1801 DCHECK(expr->scope()->outer_scope() == current_scope()); in VisitFunctionLiteral()
1959 CurrentScope current_scope(this, expr->scope()); in VisitClassLiteral() local
2616 current_scope()->ContextChainLengthUntilOutermostSloppyEval(); in BuildVariableLoad()
3669 .LoadLiteral(Smi::FromInt(current_scope()->start_position())) in VisitCall()
4711 DCHECK_EQ(current_scope(), closure_scope()); in BuildNewLocalActivationContext()
5062 CurrentScope current_scope(this, scope); in VisitInScope() local
5077 return current_scope()->language_mode(); in language_mode()
Dbytecode-generator.h306 inline Scope* current_scope() const { return current_scope_; } in current_scope() function