Home
last modified time | relevance | path

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

12345678910>>...23

/external/tensorflow/tensorflow/python/feature_column/
Dserialization_test.py125 def test_get_config(self, trainable, name): argument
130 cols, trainable=trainable, name=name)
134 self.assertEqual(config['trainable'], trainable)
146 def test_from_config(self, trainable, name): argument
153 cols, trainable=trainable, name=name)
159 self.assertEqual(new_layer.trainable, trainable)
189 def test_get_config(self, trainable, name): argument
191 orig_layer = sfc.SequenceFeatures(cols, trainable=trainable, name=name)
195 self.assertEqual(config['trainable'], trainable)
204 def test_from_config(self, trainable, name): argument
[all …]
Dfeature_column.py175 trainable=True, argument
206 trainable=trainable)
238 trainable=True, argument
301 trainable=trainable,
316 trainable=True, argument
324 self._trainable = trainable
336 trainable=self._trainable,
375 trainable=True, argument
499 trainable=trainable,
540 trainable=True, argument
[all …]
Dfeature_column_v2.py195 trainable=True, argument
213 del feature_column, name, shape, dtype, trainable, use_resource, initializer
268 def __init__(self, layer, trainable): argument
275 self._trainable = trainable
290 trainable=True, argument
304 trainable=self._trainable and trainable,
345 trainable=True, argument
359 trainable=self._trainable and trainable,
389 trainable, argument
394 name=name, trainable=trainable, **kwargs)
[all …]
Ddense_features_v2.py62 trainable=True, argument
84 trainable=trainable,
87 …self._state_manager = fc._StateManagerImplV2(self, self.trainable) # pylint: disable=protected-ac…
Ddense_features.py70 trainable=True, argument
94 trainable=trainable,
/external/tensorflow/tensorflow/python/layers/
Dconvolutional.py95 trainable=True, argument
114 trainable=trainable,
138 trainable=True, argument
214 trainable=trainable,
294 trainable=True, argument
313 trainable=trainable,
337 trainable=True, argument
420 trainable=trainable,
501 trainable=True, argument
520 trainable=trainable,
[all …]
Dbase.py191 def __init__(self, trainable=True, name=None, dtype=None, argument
212 super(Layer, self).__init__(trainable=trainable, name=name, dtype=dtype,
322 trainable=None, argument
386 trainable=trainable and self.trainable,
395 if trainable:
403 trainable = False
404 elif trainable is None:
405 trainable = True
453 trainable=trainable and self.trainable,
474 if (trainable and self.trainable and
Dcore.py95 trainable=True, argument
108 trainable=trainable,
127 trainable=True, argument
183 trainable=trainable,
Dnormalization.py142 trainable=True, argument
165 trainable=trainable,
196 trainable=True, argument
330 trainable=trainable,
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column.py134 trainable=True,
146 trainable=True,
279 trainable=True,
366 trainable=True, argument
382 trainable=trainable,
393 trainable=True, argument
440 def _get_dense_tensor(self, inputs, weight_collections=None, trainable=None): argument
444 self, inputs, weight_collections, trainable)
449 self, inputs, weight_collections, trainable)
462 self, inputs, weight_collections=None, trainable=None): argument
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized_test.py98 def test_random_features_properties(self, initializer, scale, trainable): argument
103 trainable=trainable)
107 self.assertEqual(rff_layer.trainable, trainable)
113 def test_call(self, initializer, trainable): argument
118 trainable=trainable,
123 num_trainable_vars = 1 if trainable else 0
138 output_dim=7, name='random_fourier_features', trainable=True)
205 def test_get_config(self, output_dim, initializer, scale, trainable): argument
210 trainable=trainable,
224 'trainable': trainable,
[all …]
Dkernelized.py135 trainable=False, argument
151 trainable=trainable, name=name, **kwargs)
180 trainable=False)
188 trainable=False)
197 trainable=True,
Dnormalization.py192 trainable=True, argument
236 self.trainable = trainable
280 def trainable(self): member in BatchNormalizationBase
283 @trainable.setter
284 def trainable(self, value): member in BatchNormalizationBase
398 trainable=True,
414 trainable=True,
435 trainable=False,
445 trainable=False,
464 trainable=False,
[all …]
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py294 trainable=None, argument
443 trainable=None, argument
468 trainable=trainable,
489 trainable=trainable,
513 trainable=trainable,
522 synchronization, aggregation, trainable = (
524 synchronization, aggregation, trainable, name))
537 "trainable": trainable,
560 trainable=trainable,
578 trainable=None, argument
[all …]
Dvariables.py151 trainable, name):
173 if trainable is None:
174 trainable = synchronization != VariableSynchronization.ON_READ
175 return synchronization, aggregation, trainable
183 trainable=None, argument
207 trainable=trainable,
224 trainable=None, argument
245 trainable=trainable,
369 trainable=None, argument
480 def trainable(self): member in Variable
[all …]
Dresource_variable_ops.py322 if variable.trainable:
335 trainable=None, argument
402 synchronization, aggregation, trainable = (
404 synchronization, aggregation, trainable, name))
405 self._trainable = trainable
477 trainable=self._trainable,
576 def trainable(self): member in BaseResourceVariable
685 if self.trainable:
727 var_def.trainable = self.trainable
850 trainable=self.trainable,
[all …]
/external/tensorflow/tensorflow/python/training/tracking/
Dlayer_utils.py254 def gather_trainable_weights(trainable, sub_layers, extra_variables): argument
267 if not trainable:
273 v for v in extra_variables if v.trainable]
277 def gather_non_trainable_weights(trainable, sub_layers, extra_variables): argument
293 if v.trainable:
300 if not trainable:
/external/tensorflow/tensorflow/python/kernel_tests/
Dtemplate_test.py40 def variable_scoped_function(trainable=True): argument
42 "dummy", shape=[1], trainable=trainable,
52 def function_with_create(trainable): argument
54 variables.Variable(0, trainable=trainable)
59 def function_with_side_create(trainable, name="side"): argument
61 variable_scope.get_variable(name, shape=[1], trainable=trainable)
284 tmpl = template.make_template("s", function_with_create, trainable=True)
294 trainable=True)
301 tmpl = template.make_template("s", function_with_create, trainable=False)
308 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/utils/
Dlayer_utils.py275 def gather_trainable_weights(trainable, sub_layers, extra_variables): argument
288 if not trainable:
294 v for v in extra_variables if v.trainable]
298 def gather_non_trainable_weights(trainable, sub_layers, extra_variables): argument
314 if v.trainable:
321 if not trainable:
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py170 def __init__(self, trainable=True, name=None, dtype=None, dynamic=False, argument
190 self._trainable = trainable
294 def _add_trackable(self, trackable_object, trainable): argument
307 if trainable:
320 trainable=None, argument
392 if trainable:
400 trainable = False
401 elif trainable is None:
402 trainable = True
444 trainable=trainable,
[all …]
/external/tensorflow/tensorflow/python/training/
Dsession_manager_test.py253 trainable=False,
312 trainable=False,
345 trainable=False,
382 trainable=False,
416 trainable=False,
447 trainable=False,
467 trainable=False,
485 trainable=False,
490 trainable=False,
525 trainable=False,
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2_test.py78 trainable=False,
109 self.assertTrue(imported.variables[0].trainable)
110 self.assertFalse(imported.variables[1].trainable)
439 def _no_trainable_variable_attribute(self, trainable): argument
455 v = _MissingFieldsVariable(3., trainable=trainable)
474 path = self._no_trainable_variable_attribute(trainable=True)
476 self.assertTrue(root.variables[0].trainable)
477 path = self._no_trainable_variable_attribute(trainable=False)
479 self.assertFalse(root.variables[0].trainable)
502 trainable=True,
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dmulti_variables_v1.py45 trainable=True)
50 trainable=True)

12345678910>>...23