Home
last modified time | relevance | path

Searched refs:trainable (Results 1 – 25 of 625) sorted by relevance

12345678910>>...25

/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dconvolutional.py99 trainable=True, argument
118 trainable=trainable,
139 trainable=True, argument
221 trainable=trainable,
304 trainable=True, argument
323 trainable=trainable,
344 trainable=True, argument
433 trainable=trainable,
517 trainable=True, argument
536 trainable=trainable,
[all …]
Dbase.py194 def __init__(self, trainable=True, name=None, dtype=None, argument
218 super(Layer, self).__init__(trainable=trainable, name=name, dtype=dtype,
328 trainable=None, argument
392 trainable=trainable and self.trainable,
401 if trainable:
409 trainable = False
410 elif trainable is None:
411 trainable = True
459 trainable=trainable and self.trainable,
480 if (trainable and self.trainable and
Dnormalization.py142 trainable=True, argument
165 trainable=trainable,
191 trainable=True, argument
332 trainable=trainable,
Dcore.py95 trainable=True, argument
108 trainable=trainable,
125 trainable=True, argument
184 trainable=trainable,
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column.py174 trainable=True, argument
205 trainable=trainable)
237 trainable=True, argument
300 trainable=trainable,
315 trainable=True, argument
323 self._trainable = trainable
335 trainable=self._trainable,
374 trainable=True, argument
498 trainable=trainable,
539 trainable=True, argument
[all …]
Dfeature_column_v2.py190 trainable=True, argument
208 del feature_column, name, shape, dtype, trainable, use_resource, initializer
275 def __init__(self, layer, trainable): argument
282 self._trainable = trainable
294 trainable=True, argument
308 trainable=self._trainable and trainable,
359 trainable=True, argument
373 trainable=self._trainable and trainable,
498 trainable=True, argument
600 trainable=trainable,
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column.py137 trainable=True,
149 trainable=True,
285 trainable=True,
372 trainable=True, argument
390 trainable=trainable,
401 trainable=True, argument
453 def _get_dense_tensor(self, inputs, weight_collections=None, trainable=None): argument
457 self, inputs, weight_collections, trainable)
462 self, inputs, weight_collections, trainable)
477 self, inputs, weight_collections=None, trainable=None): argument
[all …]
Dfeature_column_v2.py366 tensor_name_in_ckpt=None, num_buckets=num_buckets, trainable=None,
442 trainable=True,
509 def _get_dense_tensor(self, inputs, weight_collections=None, trainable=None): argument
513 self, inputs, weight_collections, trainable)
518 self, inputs, weight_collections, trainable)
564 self, inputs, weight_collections=None, trainable=None): argument
568 self, inputs, weight_collections, trainable)
573 self, inputs, weight_collections, trainable)
978 def _get_dense_tensor(self, inputs, weight_collections=None, trainable=None): argument
986 trainable)
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized_test.py120 def test_random_features_properties(self, initializer, scale, trainable): argument
125 trainable=trainable)
129 self.assertEqual(rff_layer.trainable, trainable)
134 def test_call(self, initializer, trainable): argument
139 trainable=trainable,
144 num_trainable_vars = 1 if trainable else 0
158 output_dim=7, name='random_fourier_features', trainable=True)
223 def test_get_config(self, output_dim, initializer, scale, trainable): argument
228 trainable=trainable,
242 'trainable': trainable,
[all …]
Dkernelized.py155 trainable=False, argument
171 trainable=trainable, name=name, **kwargs)
200 trainable=False)
208 trainable=False)
217 trainable=True,
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py317 trainable=None, argument
466 trainable=None, argument
491 trainable=trainable,
512 trainable=trainable,
536 trainable=trainable,
545 synchronization, aggregation, trainable = (
547 synchronization, aggregation, trainable, name))
560 "trainable": trainable,
583 trainable=trainable,
601 trainable=None, argument
[all …]
Dvariables.py152 trainable, name):
174 if trainable is None:
175 trainable = synchronization != VariableSynchronization.ON_READ
176 return synchronization, aggregation, trainable
184 trainable=None, argument
208 trainable=trainable,
225 trainable=None, argument
246 trainable=trainable,
371 trainable=None, argument
482 def trainable(self): member in Variable
[all …]
Dresource_variable_ops.py328 if variable.trainable:
338 trainable=None, argument
405 synchronization, aggregation, trainable = (
407 synchronization, aggregation, trainable, name))
408 self._trainable = trainable
501 trainable=self._trainable,
602 def trainable(self): member in BaseResourceVariable
722 if self.trainable:
764 var_def.trainable = self.trainable
906 trainable=self.trainable,
[all …]
/external/tensorflow/tensorflow/python/keras/feature_column/
Ddense_features_v2.py63 trainable=True, argument
85 trainable=trainable,
88 …self._state_manager = fc._StateManagerImplV2(self, self.trainable) # pylint: disable=protected-ac…
Dbase_feature_layer.py54 trainable, argument
59 name=name, trainable=trainable, **kwargs)
63 self, self.trainable)
Ddense_features.py71 trainable=True, argument
95 trainable=trainable,
Dsequence_feature_column.py87 trainable=True, argument
107 trainable=trainable,
Ddense_features_test.py870 trainable=False)
893 def _test_dense_features(self, trainable=True): argument
965 trainable=trainable)
970 trainable=trainable)
993 if trainable:
1014 self._test_dense_features(trainable=False)
1024 def test_get_config(self, trainable, name): argument
1029 cols, trainable=trainable, name=name)
1033 self.assertEqual(config['trainable'], trainable)
1045 def test_from_config(self, trainable, name): argument
[all …]
Dsequence_feature_column_test.py578 def test_get_config(self, trainable, name): argument
580 orig_layer = ksfc.SequenceFeatures(cols, trainable=trainable, name=name)
584 self.assertEqual(config['trainable'], trainable)
593 def test_from_config(self, trainable, name): argument
595 orig_layer = ksfc.SequenceFeatures(cols, trainable=trainable, name=name)
601 self.assertEqual(new_layer.trainable, trainable)
/external/tensorflow/tensorflow/python/kernel_tests/
Dtemplate_test.py39 def variable_scoped_function(trainable=True): argument
41 "dummy", shape=[1], trainable=trainable,
51 def function_with_create(trainable): argument
53 variables.Variable(0, trainable=trainable)
58 def function_with_side_create(trainable, name="side"): argument
60 variable_scope.get_variable(name, shape=[1], trainable=trainable)
282 tmpl = template.make_template("s", function_with_create, trainable=True)
292 trainable=True)
299 tmpl = template.make_template("s", function_with_create, trainable=False)
306 trainable=False)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.pbtxt97 …gularizer\', \'beta_constraint\', \'gamma_constraint\', \'training\', \'trainable\', \'name\', \'r…
101 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
105 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
109 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
113 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
117 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
121 …\'activity_regularizer\', \'kernel_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
145 …epthwise_constraint\', \'pointwise_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
149 …epthwise_constraint\', \'pointwise_constraint\', \'bias_constraint\', \'trainable\', \'name\', \'r…
Dtensorflow.feature_column.pbtxt29 …izer\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\', \'use_safe_em…
37 …argspec: "args=[\'features\', \'feature_columns\', \'weight_collections\', \'trainable\', \'cols_t…
41 …re_columns\', \'units\', \'sparse_combiner\', \'weight_collections\', \'trainable\', \'cols_to_var…
73 …name\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\', \'use_safe_em…
/external/tensorflow/tensorflow/python/keras/distribute/
Dsharded_variable_test.py42 variables_lib.Variable([2], trainable=False),
43 variables_lib.Variable([3], trainable=False),
71 shape=(2,), initializer=lambda shape, dtype: [0, 1], trainable=True)
75 trainable=False)
/external/tensorflow/tensorflow/python/training/
Dsession_manager_test.py255 trainable=False,
313 trainable=False,
345 trainable=False,
381 trainable=False,
414 trainable=False,
445 trainable=False,
465 trainable=False,
482 trainable=False,
487 trainable=False,
522 trainable=False,
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_v1.py151 def __init__(self, trainable=True, name=None, dtype=None, dynamic=False, argument
169 self._trainable = trainable
299 def _add_trackable(self, trackable_object, trainable): argument
312 if trainable:
325 trainable=None, argument
397 if trainable:
405 trainable = False
406 elif trainable is None:
407 trainable = True
450 trainable=trainable,
[all …]

12345678910>>...25