Home
last modified time | relevance | path

Searched refs:_scope (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dcomposable_model.py82 self._scope = scope
88 return self._scope
131 return ops.get_collection(self._scope)
209 if (name.startswith(self._scope + "/") and
210 name != self._scope + "/bias_weight" and
226 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 …]
/external/tensorflow/tensorflow/python/layers/
Dbase.py221 self._scope = captured_scope
223 self._scope = None
256 if not self._scope:
262 return self._scope.name
288 if self._scope is None:
293 self._scope = captured_scope
297 self._scope = captured_scope
423 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)
Dbase_test.py212 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 …]
Dconvolutional.py217 _scope=name)
423 _scope=name)
631 _scope=name)
970 _scope=name)
1095 _scope=name)
1278 _scope=name)
1452 _scope=name)
Dnormalization.py311 _scope=name)
Dcore.py186 _scope=name,
/external/tensorflow/tensorflow/contrib/eager/python/
Dnetwork.py251 if self._scope is None:
267 parent_scope = first_parent._scope
280 self._scope = scope
313 if sublayer._scope is None:
320 parent_scope = constituent_first_parent._scope
335 sublayer._scope = sub_scope
857 layer._scope.set_custom_getter(layer._custom_getter)
Dmetrics_impl.py113 self._scope = scope
147 self._scope), self._construction_scope():
/external/tensorflow/tensorflow/contrib/distribute/python/
Dkeras_correctness_test_base.py109 self._scope = None
113 self._scope = self._distribution.scope()
114 self._scope.__enter__()
118 self._scope.__exit__(exc_type, value, traceback)
119 self._scope = None
/external/tensorflow/tensorflow/contrib/rate/
Drate.py52 self._scope = scope
98 self._scope), self._construction_scope():
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers.py236 _scope=sc,
344 _scope=sc,
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers.py121 _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 …]
/external/tensorflow/tensorflow/contrib/graph_editor/
Dtransform.py205 self._scope = info.scope
309 if self._scope:
310 print(" Relative to source scope: {}".format(self._scope), file=res)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg407 <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>;
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization.py363 if hasattr(self, '_scope') and self._scope:
364 partitioner = self._scope.partitioner
365 self._scope.set_partitioner(None)
424 self._scope.set_partitioner(partitioner)
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib.py331 return self._extended._scope(self) # pylint: disable=protected-access
862 def _scope(self, strategy): member in DistributionStrategyExtended
1552 def _scope(self, strategy): member in _DefaultDistributionExtended
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg623 <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>_scope
1469 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>_…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg448 <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>();
/external/python/oauth2client/oauth2client/contrib/
Dappengine.py593 self._scope = util.scopes_to_string(scope)
671 self._client_id, self._client_secret, self._scope,
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/
Dcudnn_rnn_ops.py694 self._scope = scope_name or None
696 self._scope = None
715 if self._scope:
717 "%s/%s" % (self._scope, pn) for pn in prefixed_param_names
/external/tensorflow/tensorflow/contrib/training/python/training/
Dsequence_queueing_state_saver.py882 self._scope = scope
918 self._scope, values=[self._barrier.barrier_ref]):
945 self._scope, values=[self._barrier.barrier_ref]):
949 self._scope, values=[self._barrier.barrier_ref]):
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg645 <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>_scope
1493 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>_…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg411 <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>
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dmasked_autoregressive.py433 _scope=name,
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dlosses_impl_test.py445 with variable_scope.variable_scope('fake_scope') as self._scope:
455 'discriminator_scope': self._scope,

12