Searched refs:_scope (Results 1 – 25 of 36) sorted by relevance
12
82 self._scope = scope88 return self._scope131 return ops.get_collection(self._scope)209 if (name.startswith(self._scope + "/") and210 name != self._scope + "/bias_weight" and226 return load_variable(model_dir, name=(self._scope + "/bias_weight"))234 self._scope, values=features.values(),241 weight_collections=[self._scope],249 weight_collections=[self._scope],329 model_dir, name=(self._scope + "/hiddenlayer_%d/weights" % i))[all …]
221 self._scope = captured_scope223 self._scope = None256 if not self._scope:262 return self._scope.name288 if self._scope is None:293 self._scope = captured_scope297 self._scope = captured_scope423 self._scope, reuse=reuse, auxiliary_name_scope=False) as scope:519 self._scope, reuse=True, auxiliary_name_scope=False)523 self._scope, reuse=self._reuse, auxiliary_name_scope=False)
212 self.assertEqual(layer_copy._scope.name, layer._scope.name)227 self.assertEqual(default_layer._scope.name, 'private_layer')230 self.assertEqual(default_layer1._scope.name, 'private_layer_1')233 self.assertEqual(my_layer._scope.name, 'my_layer')236 self.assertEqual(my_layer1._scope.name, 'my_layer_1')239 self.assertEqual(my_layer2._scope.name, 'my_layer_2')244 self.assertEqual(default_layer2._scope.name, 'private_layer_2')247 self.assertEqual(my_layer3._scope.name, 'my_layer_3')250 self.assertEqual(other_layer._scope.name, 'other_layer')255 self.assertEqual(default_layer_scoped._scope.name,[all …]
217 _scope=name)423 _scope=name)631 _scope=name)970 _scope=name)1095 _scope=name)1278 _scope=name)1452 _scope=name)
311 _scope=name)
186 _scope=name,
251 if self._scope is None:267 parent_scope = first_parent._scope280 self._scope = scope313 if sublayer._scope is None:320 parent_scope = constituent_first_parent._scope335 sublayer._scope = sub_scope857 layer._scope.set_custom_getter(layer._custom_getter)
113 self._scope = scope147 self._scope), self._construction_scope():
109 self._scope = None113 self._scope = self._distribution.scope()114 self._scope.__enter__()118 self._scope.__exit__(exc_type, value, traceback)119 self._scope = None
52 self._scope = scope98 self._scope), self._construction_scope():
236 _scope=sc,344 _scope=sc,
121 _scope=sc)170 _scope=sc)648 _scope=sc,1056 _scope=sc,1406 _scope=sc,1519 _scope=sc,1601 _scope=sc)1853 _scope=sc,2193 _scope=name,2411 _scope=sc)[all …]
205 self._scope = info.scope309 if self._scope:310 print(" Relative to source scope: {}".format(self._scope), file=res)
407 <ruleDescriptor.useScopes:{<it>_stack.push(new <it>_scope());}; separator="\n">408 <ruleDescriptor.ruleScope:{<it.name>_stack.push(new <it.name>_scope());}; separator="\n">1135 protected static class <scope.name>_scope {1144 protected static class <scope.name>_scope {1221 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name>1224 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name>1226 ((<scope>_scope)<scope>_stack.peek()).<attr.name>1233 ((<scope>_scope)<scope>_stack.elementAt(<scope>_stack.size()-<negIndex>-1)).<attr.name> =<expr>;1236 ((<scope>_scope)<scope>_stack.elementAt(<index>)).<attr.name> =<expr>;1238 ((<scope>_scope)<scope>_stack.peek()).<attr.name> =<expr>;
363 if hasattr(self, '_scope') and self._scope:364 partitioner = self._scope.partitioner365 self._scope.set_partitioner(None)424 self._scope.set_partitioner(partitioner)
331 return self._extended._scope(self) # pylint: disable=protected-access862 def _scope(self, strategy): member in DistributionStrategyExtended1552 def _scope(self, strategy): member in _DefaultDistributionExtended
623 <ruleDescriptor.useScopes:{it|<it>_stack.Push(new <it>_scope(this));<it>_scopeInit(<it>_stack.Peek(…624 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope(this));<it.name>_scopeInit(<…1465 protected sealed partial class <scope.name>_scope1469 public <scope.name>_scope(<grammar.recognizerName> grammar) { OnCreated(grammar); }1473 protected void <scope.name>_scopeInit( <scope.name>_scope scope )1478 partial void <scope.name>_scopeInit( <scope.name>_scope scope );1481 protected void <scope.name>_scopeAfter( <scope.name>_scope scope )1486 partial void <scope.name>_scopeAfter( <scope.name>_scope scope );1488 protected readonly ListStack\<<scope.name>_scope> <scope.name>_stack = new ListStack\<<scope.name>_…
448 <ruleDescriptor.useScopes:{it |<it>_stack.push(new <it>_scope());}; separator="\n">449 <ruleDescriptor.ruleScope:{it |<it.name>_stack.push(new <it.name>_scope());}; separator="\n">1211 protected static class <scope.name>_scope {1214 protected Stack\<<scope.name>_scope> <scope.name>_stack = new Stack\<<scope.name>_scope>();1221 protected static class <scope.name>_scope {1224 protected Stack\<<scope.name>_scope> <scope.name>_stack = new Stack\<<scope.name>_scope>();
593 self._scope = util.scopes_to_string(scope)671 self._client_id, self._client_secret, self._scope,
694 self._scope = scope_name or None696 self._scope = None715 if self._scope:717 "%s/%s" % (self._scope, pn) for pn in prefixed_param_names
882 self._scope = scope918 self._scope, values=[self._barrier.barrier_ref]):945 self._scope, values=[self._barrier.barrier_ref]):949 self._scope, values=[self._barrier.barrier_ref]):
645 <ruleDescriptor.useScopes:{it|<it>_stack.Push(new <it>_scope());<it>_scopeInit(<it>_stack.Peek());}…646 <ruleDescriptor.ruleScope:{it|<it.name>_stack.Push(new <it.name>_scope());<it.name>_scopeInit(<it.n…1488 protected sealed partial class <scope.name>_scope1493 protected void <scope.name>_scopeInit( <scope.name>_scope scope )1498 protected virtual void <scope.name>_scopeInit( <scope.name>_scope scope ) {}1501 protected void <scope.name>_scopeAfter( <scope.name>_scope scope )1506 protected virtual void <scope.name>_scopeAfter( <scope.name>_scope scope ) {}1508 protected readonly ListStack\<<scope.name>_scope> <scope.name>_stack = new ListStack\<<scope.name>_…
411 <ruleDescriptor.useScopes:{it | <it>_stack.push(new <it>_scope())}; separator="\n">412 <ruleDescriptor.ruleScope:{it | <it.name>_stack.push(new <it.name>_scope())}; separator="\n">1144 class <scope.name>_scope {1147 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>1153 class <scope.name>_scope {1156 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>
433 _scope=name,
445 with variable_scope.variable_scope('fake_scope') as self._scope:455 'discriminator_scope': self._scope,