HomeSort by relevance Sort by last modified time
    Searched refs:regularizer (Results 1 - 25 of 32) sorted by null

1 2

  /external/tensorflow/tensorflow/contrib/layers/python/layers/
encoders.py 37 regularizer=None,
54 regularizer: Optional regularizer for the embeddings.
74 initializer=initializer, regularizer=regularizer,
96 regularizer=None,
113 regularizer: Optional regularizer for the embeddings.
138 initializer=initializer, regularizer=regularizer,
    [all...]
regularizers.py 43 scale: A scalar multiplier `Tensor`. 0.0 disables the regularizer.
56 raise ValueError('Setting a scale less than 0 on a regularizer: %g' %
59 logging.info('Scale of 0 disables regularizer.')
82 scale: A scalar multiplier `Tensor`. 0.0 disables the regularizer.
95 raise ValueError('Setting a scale less than 0 on a regularizer: %g.' %
98 logging.info('Scale of 0 disables regularizer.')
165 def apply_regularization(regularizer, weights_list=None):
166 """Returns the summed penalty by applying `regularizer` to the `weights_list`.
174 regularizer: A function that takes a single `Tensor` argument and returns
177 `regularizer` over. Defaults to the `GraphKeys.WEIGHTS` collection i
    [all...]
regularizers_test.py 151 regularizer = regularizers.l2_regularizer(0.0)
155 result = regularizers.apply_regularization(regularizer,
layers.py 234 param_regularizers: Optional regularizer for beta and gamma.
314 regularizer=beta_regularizer,
330 regularizer=gamma_regularizer,
500 param_regularizers: Optional regularizer for beta and gamma.
    [all...]
  /external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/
hybrid_model.py 56 self.regularizer = None
58 self.regularizer = layers.l1_regularizer(
61 self.regularizer = layers.l2_regularizer(
123 if self.regularizer:
124 loss += layers.apply_regularization(self.regularizer,
  /external/tensorflow/tensorflow/python/ops/
variable_scope.py 232 initializer=None, regularizer=None, reuse=None,
263 regularizer: A (Tensor -> Tensor or None) function; the result of
351 initializer=None, regularizer=None, reuse=None,
368 regularizer=regularizer,
386 regularizer=regularizer,
405 initializer=initializer, regularizer=regularizer, reuse=reuse,
419 "regularizer": regularizer
958 def regularizer(self): member in class:VariableScope
    [all...]
  /external/tensorflow/tensorflow/python/keras/_impl/keras/
regularizers.py 29 @tf_export('keras.regularizers.Regularizer')
30 class Regularizer(object):
31 """Regularizer base class.
43 class L1L2(Regularizer):
44 """Regularizer for L1 and L2 regularization.
86 def serialize(regularizer):
87 return serialize_keras_object(regularizer)
96 printable_module_name='regularizer')
111 raise ValueError('Could not interpret regularizer identifier:', identifier)
  /external/tensorflow/tensorflow/contrib/bayesflow/python/ops/
layers_util.py 66 loc_regularizer: Regularizer function for the `loc` parameters.
68 untransformed_scale_regularizer: Regularizer function for the `scale`
94 regularizer=loc_regularizer,
104 regularizer=untransformed_scale_regularizer,
146 loc_regularizer: Regularizer function for the `loc` parameters.
147 untransformed_scale_regularizer: Regularizer function for the `scale`
  /external/tensorflow/tensorflow/contrib/framework/python/ops/
variables.py 197 regularizer=None, trainable=True, collections=None,
207 regularizer: a (Tensor -> Tensor or None) function; the result of
241 regularizer=regularizer,
251 regularizer=None, trainable=True, collections=None,
261 regularizer: a (Tensor -> Tensor or None) function; the result of
287 initializer=initializer, regularizer=regularizer,
  /external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
layers.py 43 regularizer=None,
62 regularizer=regularizer,
167 weights_regularizer: Optional regularizer for the weights.
169 biases_regularizer: Optional regularizer for the biases.
299 weights_regularizer: Optional regularizer for the weights.
301 biases_regularizer: Optional regularizer for the biases.
core_layers.py 77 kernel_regularizer: Optional regularizer for the convolution kernel.
78 bias_regularizer: Optional regularizer for the bias vector.
79 activity_regularizer: Regularizer function for the output.
143 regularizer=self.kernel_regularizer,
169 regularizer=self.bias_regularizer,
284 kernel_regularizer: Optional regularizer for the convolution kernel.
285 bias_regularizer: Optional regularizer for the bias vector.
286 activity_regularizer: Regularizer function for the output.
349 kernel_regularizer: Regularizer function for the weight matrix.
350 bias_regularizer: Regularizer function for the bias
    [all...]
  /external/tensorflow/tensorflow/python/eager/
graph_callable.py 111 # TODO(apassos) ignoring the regularizer and partitioner here; figure out
114 initializer=None, regularizer=None, reuse=None,
118 del getter, regularizer, partitioner, validate_shape, use_resource, dtype
137 # TODO(apassos) ignoring the regularizer and partitioner here; figure out
140 initializer=None, regularizer=None, reuse=None,
144 del getter, regularizer, collections, caching_device, partitioner
  /external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
local.py 71 kernel_regularizer: Regularizer function applied to
73 bias_regularizer: Regularizer function applied to the bias vector.
74 activity_regularizer: Regularizer function applied to
137 regularizer=self.kernel_regularizer,
144 regularizer=self.bias_regularizer,
252 kernel_regularizer: Regularizer function applied to
254 bias_regularizer: Regularizer function applied to the bias vector.
255 activity_regularizer: Regularizer function applied to
336 regularizer=self.kernel_regularizer,
343 regularizer=self.bias_regularizer
    [all...]
embeddings.py 62 embeddings_regularizer: Regularizer function applied to
120 regularizer=self.embeddings_regularizer,
convolutional_recurrent.py 242 kernel_regularizer: Regularizer function applied to
244 recurrent_regularizer: Regularizer function applied to
246 bias_regularizer: Regularizer function applied to the bias vector.
247 activity_regularizer: Regularizer function applied to
394 regularizer=self.kernel_regularizer,
400 regularizer=self.recurrent_regularizer,
407 regularizer=self.bias_regularizer,
advanced_activations.py 90 alpha_regularizer: regularizer for the weights.
133 regularizer=self.alpha_regularizer,
recurrent.py 823 kernel_regularizer: Regularizer function applied to
825 recurrent_regularizer: Regularizer function applied to
827 bias_regularizer: Regularizer function applied to the bias vector.
    [all...]
  /external/tensorflow/tensorflow/python/layers/
core_test.py 175 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
177 2, name='my_dense', activity_regularizer=regularizer)
185 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
187 2, name='my_dense', kernel_regularizer=regularizer)
195 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
198 inputs, 2, name='my_dense', kernel_regularizer=regularizer)
202 inputs, 2, name='my_dense', kernel_regularizer=regularizer, reuse=True)
207 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
208 dense = core_layers.Dense(2, name='my_dense', bias_regularizer=regularizer)
base.py 178 """Optional regularizer function for the output of this layer."""
323 return [regularizer() for regularizer in self._losses]
470 initializer=None, regularizer=None,
480 regularizer: regularizer instance (callable).
558 if regularizer:
562 with ops.name_scope(name + '/Regularizer'):
563 regularization = regularizer(v)
568 with ops.name_scope(name + '/Regularizer')
    [all...]
core.py 64 kernel_regularizer: Regularizer function for the weight matrix.
65 bias_regularizer: Regularizer function for the bias.
66 activity_regularizer: Regularizer function for the output.
88 kernel_regularizer: Regularizer instance for the kernel matrix (callable)
89 bias_regularizer: Regularizer instance for the bias (callable).
90 activity_regularizer: Regularizer instance for the output (callable)
134 regularizer=self.kernel_regularizer,
142 regularizer=self.bias_regularizer,
213 kernel_regularizer: Regularizer function for the weight matrix.
214 bias_regularizer: Regularizer function for the bias
    [all...]
convolutional.py 70 kernel_regularizer: Optional regularizer for the convolution kernel.
71 bias_regularizer: Optional regularizer for the bias vector.
72 activity_regularizer: Optional regularizer function for the output.
141 regularizer=self.kernel_regularizer,
149 regularizer=self.bias_regularizer,
261 kernel_regularizer: Optional regularizer for the convolution kernel.
262 bias_regularizer: Optional regularizer for the bias vector.
263 activity_regularizer: Optional regularizer function for the output.
370 kernel_regularizer: Optional regularizer for the convolution kernel.
371 bias_regularizer: Optional regularizer for the bias vector
    [all...]
base_test.py 85 regularizer = lambda x: math_ops.reduce_sum(x) * 1e-3
89 regularizer=regularizer)
472 regularizer = math_ops.reduce_sum
473 layer = base_layers.Layer(activity_regularizer=regularizer)
  /external/tensorflow/tensorflow/contrib/gan/python/features/python/
virtual_batchnorm_impl.py 165 beta_regularizer: Optional regularizer for the beta weight.
166 gamma_regularizer: Optional regularizer for the gamma weight.
236 regularizer=beta_regularizer,
243 regularizer=gamma_regularizer,
  /external/tensorflow/tensorflow/python/kernel_tests/
matrix_solve_ls_op_test.py 311 regularizer = 1.0
319 x = linalg_ops.matrix_solve_ls(matrix, rhs, regularizer)
334 x = linalg_ops.matrix_solve_ls(matrix, rhs, regularizer)
  /external/tensorflow/tensorflow/python/keras/_impl/keras/applications/
mobilenet.py 160 depthwise_regularizer: Regularizer function applied to
162 bias_regularizer: Regularizer function applied to the bias vector.
163 activity_regularizer: Regularizer function applied to
238 regularizer=self.depthwise_regularizer,
246 regularizer=self.bias_regularizer,

Completed in 327 milliseconds

1 2