Home
last modified time | relevance | path

Searched refs:regularizer (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py288 regularizer=None, argument
440 regularizer=None, argument
465 regularizer=regularizer,
486 regularizer=regularizer,
510 regularizer=regularizer,
534 "regularizer": regularizer,
557 regularizer=regularizer,
575 regularizer=None, argument
774 regularizer=regularizer,
805 regularizer=None, argument
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dencoders.py37 regularizer=None, argument
74 initializer=initializer, regularizer=regularizer,
95 regularizer=None, argument
137 initializer=initializer, regularizer=regularizer,
Dregularizers.py165 def apply_regularization(regularizer, weights_list=None): argument
193 penalties = [regularizer(w) for w in weights_list]
Dlayers.py314 regularizer=beta_regularizer,
330 regularizer=gamma_regularizer,
844 regularizer=None, argument
906 regularizer=regularizer,
1278 regularizer=weights_regularizer,
1298 regularizer=biases_regularizer,
1712 regularizer=None, argument
1733 regularizer=regularizer,
2810 regularizer=weights_regularizer,
2841 regularizer=biases_regularizer,
[all …]
Dregularizers_test.py151 regularizer = regularizers.l2_regularizer(0.0)
155 result = regularizers.apply_regularization(regularizer,
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dkeras_test.py68 def __init__(self, regularizer=None, use_operator=False, **kwargs): argument
77 self._regularizer = regularizer
83 regularizer=self._regularizer)
107 regularizer=self._regularizer)
180 regularizer=IdentityRegularizer())
189 regularizer=IdentityRegularizer())
270 regularizer = IdentityRegularizer() if use_regularizer else None
275 regularizer=regularizer)
333 regularizer=IdentityRegularizer(), use_operator=True)
338 regularizer=IdentityRegularizer(),
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/
Dhybrid_model.py57 self.regularizer = None
59 self.regularizer = layers.l1_regularizer(
62 self.regularizer = layers.l2_regularizer(
125 if self.regularizer:
126 loss += layers.apply_regularization(self.regularizer,
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dexport_mnist_cnn.py53 regularizer = lambda: tf.keras.regularizers.l2(l2_strength) function
56 kernel_regularizer=regularizer())(net)
58 kernel_regularizer=regularizer())(net)
63 kernel_regularizer=regularizer())(net)
73 regularizer = lambda: tf.keras.regularizers.l2(l2_strength) function
78 kernel_regularizer=regularizer())(net)
Duse_mnist_cnn.py64 regularizer = lambda: tf.keras.regularizers.l2(l2_strength) function
69 kernel_regularizer=regularizer())(net)
/external/tensorflow/tensorflow/python/keras/
Dregularizers_test.py58 def test_kernel_regularization(self, regularizer): argument
61 model = self.create_model(kernel_regularizer=regularizer)
73 def test_activity_regularization(self, regularizer): argument
76 model = self.create_model(activity_regularizer=regularizer)
Dregularizers.py89 def serialize(regularizer): argument
90 return serialize_keras_object(regularizer)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable-scope.pbtxt38 name: "regularizer"
51 …argspec: "args=[\'self\', \'reuse\', \'name\', \'initializer\', \'regularizer\', \'caching_device\…
59 …f\', \'var_store\', \'name\', \'shape\', \'dtype\', \'initializer\', \'regularizer\', \'reuse\', \…
95 argspec: "args=[\'self\', \'regularizer\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.variable_scope.pbtxt7 …', \'name_or_scope\', \'default_name\', \'values\', \'initializer\', \'regularizer\', \'caching_de…
/external/tensorflow/tensorflow/python/layers/
Dbase.py273 for regularizer in new_callable_losses:
274 loss_tensor = regularizer()
304 regularizer=None, argument
368 regularizer=regularizer,
445 if regularizer:
448 self._handle_weight_regularization(name, variable, regularizer)
Dbase_test.py118 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
122 regularizer=regularizer)
141 regularizer=regularizer)
163 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
173 regularizer=regularizer)
466 regularizer = math_ops.reduce_sum
467 layer = base_layers.Layer(activity_regularizer=regularizer)
Dcore_test.py186 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
188 2, name='my_dense', activity_regularizer=regularizer)
197 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
199 2, name='my_dense', kernel_regularizer=regularizer)
209 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
212 inputs, 2, name='my_dense', kernel_regularizer=regularizer)
216 inputs, 2, name='my_dense', kernel_regularizer=regularizer, reuse=True)
222 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
223 dense = core_layers.Dense(2, name='my_dense', bias_regularizer=regularizer)
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables.py207 regularizer=None, argument
270 regularizer=regularizer,
285 regularizer=None, argument
341 regularizer=regularizer,
/external/tensorflow/tensorflow/python/keras/layers/
Dlocal.py179 regularizer=self.kernel_regularizer,
193 regularizer=self.kernel_regularizer,
214 regularizer=self.bias_regularizer,
463 regularizer=self.kernel_regularizer,
477 regularizer=self.kernel_regularizer,
498 regularizer=self.bias_regularizer,
Dcudnn_recurrent.py253 regularizer=self.kernel_regularizer,
260 regularizer=self.recurrent_regularizer,
267 regularizer=self.bias_regularizer,
436 regularizer=self.kernel_regularizer,
443 regularizer=self.recurrent_regularizer,
460 regularizer=self.bias_regularizer,
Dembeddings.py133 regularizer=self.embeddings_regularizer,
140 regularizer=self.embeddings_regularizer,
Dconvolutional.py162 regularizer=self.kernel_regularizer,
171 regularizer=self.bias_regularizer,
761 regularizer=self.kernel_regularizer,
770 regularizer=self.bias_regularizer,
1034 regularizer=self.kernel_regularizer,
1043 regularizer=self.bias_regularizer,
1298 regularizer=self.depthwise_regularizer,
1306 regularizer=self.pointwise_regularizer,
1315 regularizer=self.bias_regularizer,
1792 regularizer=self.depthwise_regularizer,
[all …]
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers.py43 regularizer=None, argument
62 regularizer=regularizer,
Dcore_layers.py144 regularizer=self.kernel_regularizer,
170 regularizer=self.bias_regularizer,
411 regularizer=self.kernel_regularizer,
446 regularizer=self.bias_regularizer,
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py265 regularizer=None, argument
332 regularizer = regularizers.get(regularizer)
387 if regularizer is not None:
394 regularizer)
685 def activity_regularizer(self, regularizer): argument
687 self._activity_regularizer = regularizer
740 for regularizer in self._callable_losses:
741 loss_tensor = regularizer()
1439 def _handle_weight_regularization(self, name, variable, regularizer): argument
1445 regularization = regularizer(v)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.regularizers.pbtxt33 argspec: "args=[\'regularizer\'], varargs=None, keywords=None, defaults=None"

12345678910>>...12