Searched refs:reuse (Results 1 - 25 of 152) sorted by relevance

1234567

/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dencoders.py40 reuse=None):
58 if `reuse=True`.
59 reuse: If `True`, variables inside the op will be reused.
71 scope, 'bow_encoder', [ids], reuse=reuse):
99 reuse=None):
117 if `reuse=True`.
118 reuse: If `True`, variables inside the op will be reused.
125 `reuse` is `None` or `False`.
127 if not (reuse o
[all...]
H A Dnormalization.py46 reuse=None,
74 reuse: Whether or not the layer and its variables should be reused. To be
75 able to reuse the layer scope must be given.
101 scope, 'InstanceNorm', [inputs], reuse=reuse) as sc:
H A Dencoders_test.py76 enc_2 = encoders.bow_encoder(docs, 4, 3, scope='test', reuse=True)
86 with variable_scope.variable_scope('test', reuse=True):
109 enc = encoders.bow_encoder(docs, 4, 3, scope='test', reuse=True)
120 emb = encoders.embed_sequence(docs, 4, 3, scope='test', reuse=True)
H A Dlayers.py185 reuse=None,
244 reuse: Whether or not the layer and its variables should be reused. To be
245 able to reuse the layer scope must be given.
266 scope, 'BatchNorm', [inputs], reuse=reuse) as sc:
440 reuse=None,
510 reuse: Whether or not the layer and its variables should be reused. To be
511 able to reuse the layer scope must be given.
591 reuse=reuse,
[all...]
/external/apache-http/src/org/apache/http/conn/
H A DBasicEofSensorWatcher.java69 * @param reuse whether the connection should be re-used
72 boolean reuse) {
78 attemptReuse = reuse;
71 BasicEofSensorWatcher(ManagedClientConnection conn, boolean reuse) argument
H A DBasicManagedEntity.java78 * @param reuse whether the connection should be re-used
82 boolean reuse) {
90 this.attemptReuse = reuse;
80 BasicManagedEntity(HttpEntity entity, ManagedClientConnection conn, boolean reuse) argument
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
H A Dresnet_v1.py135 reuse=None,
174 reuse: whether or not the network and its variables should be reused. To be
175 able to reuse 'scope' must be given.
193 scope, 'resnet_v1', [inputs], reuse=reuse) as sc:
256 reuse=None,
273 reuse=reuse,
282 reuse=None,
299 reuse
[all...]
H A Dresnet_v2.py137 reuse=None,
177 reuse: whether or not the network and its variables should be reused. To be
178 able to reuse 'scope' must be given.
197 scope, 'resnet_v2', [inputs], reuse=reuse) as sc:
269 reuse=None,
286 reuse=reuse,
295 reuse=None,
312 reuse
[all...]
/external/testng/src/main/java/org/testng/
H A DITestClass.java28 * @param reuse flag if a new set of instances must be returned
35 Object[] getInstances(boolean reuse); argument
/external/tensorflow/tensorflow/contrib/kfac/python/ops/
H A Dlayer_collection.py74 # Possible value for 'reuse' keyword argument. Sets 'reuse' to
75 # tf.get_variable_scope().reuse.
236 def register_block(self, layer_key, fisher_block, reuse=VARIABLE_SCOPE):
243 reuse: Method to use for inserting new `FisherBlock`s. One of True, False,
247 ValueError: If `layer_key` was already registered and reuse is `False`,
251 KeyError: If `reuse` is `True` but `layer_key` was not previously
258 if reuse is VARIABLE_SCOPE:
259 reuse = variable_scope.get_variable_scope().reuse
[all...]
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
H A Dlayers.py110 reuse=None,
170 reuse: Whether or not the layer and its variables should be reused. To be
171 able to reuse the layer scope must be given.
195 scope, 'Conv', [inputs], reuse=reuse,
237 _reuse=reuse)
269 reuse=None,
302 reuse: Whether or not the layer and its variables should be reused. To be
303 able to reuse the layer scope must be given.
329 reuse
[all...]
H A Drnn_cells.py60 reuse=None,
73 reuse: (optional) Python boolean describing whether to reuse variables
77 share weights, but to avoid mistakes we require reuse=True in such
88 reuse=reuse,
192 reuse=None):
219 reuse: (optional) Python boolean describing whether to reuse variables
238 reuse
[all...]
/external/nanopb-c/examples/network_server/
H A Dserver.c91 int reuse = 1; local
95 setsockopt(listenfd, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse));
/external/tensorflow/tensorflow/python/ops/
H A Dpartitioned_variables.py242 trainable=True, collections=None, name=None, reuse=None):
274 reuse: Boolean or `None`; if `True` and name is set, it would reuse
276 if `None`, it would inherit the parent scope reuse.
302 name, "PartitionedVariable", reuse=reuse):
H A Dvariable_scope.py193 When passed in as the value for the `reuse` flag, AUTO_REUSE indicates that
232 initializer=None, regularizer=None, reuse=None,
241 Set `reuse` to `True` when you only want to reuse existing Variables.
242 Set `reuse` to `False` when you only want to create new Variables.
243 Set `reuse` to None (the default) or tf.AUTO_REUSE when you want
266 reuse: a Boolean, None, or tf.AUTO_REUSE. Controls reuse or creation
316 or when violating reuse during variable creation.
325 if not self._store_eager_variables and reuse
942 def reuse(self): member in class:VariableScope
[all...]
/external/tensorflow/tensorflow/contrib/quantize/python/
H A Dquant_ops.py57 reuse=None,
77 reuse: whether or not the layer and its variables should be reused. To be
78 able to reuse the layer scope must be given.
87 None, default_name=name_prefix, values=[inputs], reuse=reuse):
169 reuse=None,
190 reuse: whether or not the layer and its variables should be reused. To be
191 able to reuse the layer scope must be given.
200 None, default_name=name_prefix, values=[inputs], reuse=reuse)
[all...]
/external/tensorflow/tensorflow/python/kernel_tests/
H A Dvariable_scope_test.py69 # When reuse is False, we fail when variables are already there.
70 vs.get_variable("w", [1], reuse=False) # That's ok.
72 vs.get_variable("v", [1], reuse=False) # That fails.
73 # When reuse is True, we fail when variables are new.
74 vs.get_variable("v", [1], reuse=True) # That's ok.
76 vs.get_variable("u", [1], reuse=True) # That fails.
268 with variable_scope.variable_scope("foo", reuse=True):
269 # reuse=True is for now only supported when eager execution is disabled.
378 # Check that we can set reuse.
400 with variable_scope.variable_scope(tower, reuse
[all...]
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
H A Dcore_rnn_cell.py206 reuse=None):
215 reuse: (optional) Python boolean describing whether to reuse variables
223 super(EmbeddingWrapper, self).__init__(_reuse=reuse)
286 reuse=None):
294 reuse: (optional) Python boolean describing whether to reuse variables
301 super(InputProjectionWrapper, self).__init__(_reuse=reuse)
343 def __init__(self, cell, output_size, activation=None, reuse=None):
350 reuse
[all...]
H A Drnn_cell.py89 normalized = layers.layer_norm(inp, reuse=True, scope=scope)
141 reuse=None,
168 reuse: (optional) Python boolean describing whether to reuse variables
177 super(CoupledInputForgetGateLSTMCell, self).__init__(_reuse=reuse)
191 self._reuse = reuse
339 reuse=None):
357 reuse: (optional) Python boolean describing whether to reuse variables
361 super(TimeFreqLSTMCell, self).__init__(_reuse=reuse)
[all...]
H A Dgru_ops.py140 reuse=None,
147 reuse: (optional) boolean describing whether to reuse variables in an
151 share weights, but to avoid mistakes we require reuse=True in such
159 super(GRUBlockCell, self).__init__(_reuse=reuse, name=name)
/external/libdrm/etnaviv/
H A Detnaviv_bo.c132 bo->reuse = 1;
245 if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0))
271 bo->reuse = 0;
298 bo->reuse = 0;
/external/tensorflow/tensorflow/contrib/legacy_seq2seq/python/ops/
H A Dseq2seq.py148 with variable_scope.variable_scope("loop_function", reuse=True):
381 reuse = None if feed_previous_bool else True
383 variable_scope.get_variable_scope(), reuse=reuse):
505 reuse = None if feed_previous_bool else True
507 variable_scope.get_variable_scope(), reuse=reuse):
676 with variable_scope.variable_scope("loop_function", reuse=True):
690 variable_scope.get_variable_scope(), reuse=True):
887 reuse
[all...]
/external/tensorflow/tensorflow/python/eager/
H A Dgraph_callable.py114 initializer=None, regularizer=None, reuse=None,
119 del collections, initializer, trainable, reuse, caching_device, shape,
140 initializer=None, regularizer=None, reuse=None,
147 if reuse:
150 raise ValueError("Specified reuse=%s but tried to reuse variables."
151 % reuse)
/external/tensorflow/tensorflow/contrib/kfac/python/kernel_tests/
H A Dlayer_collection_test.py244 logits, name='loss1', reuse=True)
275 # Can add when reuse=True
277 logits, targets=targets, name='loss1', reuse=True)
279 # Can add when reuse=VARIABLE_SCOPE and reuse=True there.
281 variable_scope.get_variable_scope(), reuse=True):
286 reuse=layer_collection.VARIABLE_SCOPE)
288 # Can't add when reuse=False
291 logits, targets=targets, name='loss1', reuse=False)
293 # Can't add when reuse
[all...]
/external/tensorflow/tensorflow/contrib/gan/python/
H A Dtrain.py91 reuse a subgraph that has already been created.
93 want to reuse a subgraph that has already been created.
111 with variable_scope.variable_scope(dis_scope, reuse=True):
168 reuse a subgraph that has already been created.
170 want to reuse a subgraph that has already been created.
193 with variable_scope.variable_scope(disc_scope, reuse=True):
262 reuse a subgraph that has already been created.
264 want to reuse a subgraph that has already been created.
286 with variable_scope.variable_scope(dis_scope, reuse=True):
338 reuse
[all...]

Completed in 617 milliseconds

1234567