Home
last modified time | relevance | path

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

12345678910>>...14

/external/tensorflow/tensorflow/python/keras/
Dregularizers_test.py76 def test_kernel_regularization(self, regularizer): argument
78 model = self.create_model(kernel_regularizer=regularizer)
93 def test_activity_regularization(self, regularizer): argument
95 model = self.create_model(activity_regularizer=regularizer)
135 def test_regularization_shared_layer(self, regularizer): argument
138 kernel_regularizer=regularizer,
139 activity_regularizer=regularizer)
153 def test_regularization_shared_model(self, regularizer): argument
156 kernel_regularizer=regularizer,
157 activity_regularizer=regularizer)
[all …]
Dregularizers.py354 def serialize(regularizer): argument
355 return serialize_keras_object(regularizer)
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py315 regularizer=None, argument
464 regularizer=None, argument
489 regularizer=regularizer,
510 regularizer=regularizer,
534 regularizer=regularizer,
558 "regularizer": regularizer,
581 regularizer=regularizer,
599 regularizer=None, argument
792 regularizer=regularizer,
825 regularizer=None, argument
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dtest_util.py132 regularizer=None, argument
149 self._regularizer = regularizer
150 if isinstance(regularizer, dict):
151 self._regularizer = regularizers.deserialize(regularizer,
165 self._var_name, (), initializer='ones', regularizer=self._regularizer)
Dkeras_test.py80 regularizer=self._regularizer)
202 regularizer=mp_test_util.IdentityRegularizer())
212 regularizer=mp_test_util.IdentityRegularizer())
564 regularizer=weight_regularizer,
733 regularizer=mp_test_util.IdentityRegularizer(),
741 regularizer=mp_test_util.IdentityRegularizer(),
/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…
Dtensorflow.keras.regularizers.pbtxt41 argspec: "args=[\'regularizer\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dbase.py296 for regularizer in new_callable_losses:
297 loss_tensor = regularizer()
327 regularizer=None, argument
391 regularizer=regularizer,
468 if regularizer:
471 self._handle_weight_regularization(name, variable, regularizer)
Dbase_test.py127 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
131 regularizer=regularizer)
150 regularizer=regularizer)
172 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
183 regularizer=regularizer)
460 regularizer = math_ops.reduce_sum
461 layer = base_layers.Layer(activity_regularizer=regularizer)
Dcore_test.py188 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
190 2, name='my_dense', activity_regularizer=regularizer)
199 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
201 2, name='my_dense', kernel_regularizer=regularizer)
211 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
214 inputs, 2, name='my_dense', kernel_regularizer=regularizer)
218 inputs, 2, name='my_dense', kernel_regularizer=regularizer, reuse=True)
224 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3 function
225 dense = core_layers.Dense(2, name='my_dense', bias_regularizer=regularizer)
/external/tensorflow/tensorflow/python/keras/layers/
Dlocal.py182 regularizer=self.kernel_regularizer,
197 regularizer=self.kernel_regularizer,
226 regularizer=self.kernel_regularizer,
238 regularizer=self.bias_regularizer,
488 regularizer=self.kernel_regularizer,
503 regularizer=self.kernel_regularizer,
532 regularizer=self.kernel_regularizer,
544 regularizer=self.bias_regularizer,
Dcudnn_recurrent.py253 regularizer=self.kernel_regularizer,
260 regularizer=self.recurrent_regularizer,
267 regularizer=self.bias_regularizer,
439 regularizer=self.kernel_regularizer,
446 regularizer=self.recurrent_regularizer,
463 regularizer=self.bias_regularizer,
Dembeddings.py146 regularizer=self.embeddings_regularizer,
154 regularizer=self.embeddings_regularizer,
Dconvolutional.py203 regularizer=self.kernel_regularizer,
212 regularizer=self.bias_regularizer,
981 regularizer=self.kernel_regularizer,
990 regularizer=self.bias_regularizer,
1252 regularizer=self.kernel_regularizer,
1261 regularizer=self.bias_regularizer,
1562 regularizer=self.kernel_regularizer,
1571 regularizer=self.bias_regularizer,
1830 regularizer=self.depthwise_regularizer,
1838 regularizer=self.pointwise_regularizer,
[all …]
Deinsum_dense.py151 regularizer=self.kernel_regularizer,
161 regularizer=self.bias_regularizer,
Drecurrent.py1352 regularizer=self.kernel_regularizer,
1359 regularizer=self.recurrent_regularizer,
1367 regularizer=self.bias_regularizer,
1800 regularizer=self.kernel_regularizer,
1807 regularizer=self.recurrent_regularizer,
1823 regularizer=self.bias_regularizer,
2362 regularizer=self.kernel_regularizer,
2369 regularizer=self.recurrent_regularizer,
2388 regularizer=self.bias_regularizer,
Dconvolutional_recurrent.py560 regularizer=self.kernel_regularizer,
566 regularizer=self.recurrent_regularizer,
584 regularizer=self.bias_regularizer,
Dnormalization.py413 regularizer=self.gamma_regularizer,
429 regularizer=self.beta_regularizer,
1183 regularizer=self.gamma_regularizer,
1195 regularizer=self.beta_regularizer,
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_v1.py324 regularizer=None, argument
393 regularizer = regularizers.get(regularizer)
457 if regularizer is not None:
464 regularizer)
891 def activity_regularizer(self, regularizer): argument
893 self._activity_regularizer = regularizer
954 for regularizer in layer._callable_losses:
955 loss_tensor = regularizer()
1897 def _handle_weight_regularization(self, name, variable, regularizer): argument
1903 regularization = regularizer(v)
Dbase_layer.py529 regularizer=None, argument
592 regularizer = regularizers.get(regularizer)
656 if regularizer is not None:
663 regularizer)
1315 def activity_regularizer(self, regularizer): argument
1317 self._activity_regularizer = regularizer
1487 for regularizer in layer._callable_losses:
1488 loss_tensor = regularizer()
2506 def _handle_weight_regularization(self, name, variable, regularizer): argument
2512 regularization = regularizer(v)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.regularizers.pbtxt41 argspec: "args=[\'regularizer\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test.py88 def regularizer(inputs): function
90 return regularizer
/external/tensorflow/tensorflow/python/kernel_tests/
Dmatrix_solve_ls_op_test.py329 regularizer = 1.0
337 x = linalg_ops.matrix_solve_ls(matrix, rhs, regularizer)
352 x = linalg_ops.matrix_solve_ls(matrix, rhs, regularizer)
/external/tensorflow/tensorflow/python/keras/premade/
Dlinear.py143 regularizer=self.bias_regularizer,

12345678910>>...14