Home
last modified time | relevance | path

Searched refs:max_norm (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/
Dembedding_ops.py40 def _clip(params, ids, max_norm): argument
72 if max_norm is None:
78 max_norm,
88 max_norm=None, argument
134 ids, max_norm)
209 result = transform_fn(_clip(result, pids, max_norm))
246 ret = _clip(ret, ids, max_norm)
257 max_norm=None): argument
315 max_norm=max_norm,
323 max_norm=None, argument
[all …]
Dclip_ops_test.py34 def _testClipTensorByNorm(self, inputs, max_norm, expected): argument
37 clipped = clip_ops.clip_by_norm(input_op, max_norm)
42 def _testClipIndexedSlicesByNorm(self, values, indices, shape, max_norm, argument
50 clipped = clip_ops.clip_by_norm(indixed_slices, max_norm, axes)
57 dense_clipped = clip_ops.clip_by_norm(dense_tensor, max_norm, axes)
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column.py109 max_norm=None,
140 max_norm=None,
159 max_norm=None,
215 max_norm=None, argument
228 max_norm=max_norm,
238 max_norm=None, argument
313 max_norm=None, argument
324 max_norm=max_norm,
335 max_norm=None, argument
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining.py297 def clip_gradient_norms(gradients_to_variables, max_norm): argument
311 tmp = clip_ops.clip_by_norm(grad.values, max_norm)
314 grad = clip_ops.clip_by_norm(grad, max_norm)
319 def clip_gradient_norms_fn(max_norm): argument
322 return clip_gradient_norms(gradients_to_variables, max_norm)
/external/tensorflow/tensorflow/python/keras/layers/
Dnormalization_test.py82 max_norm = keras.constraints.max_norm
84 gamma_constraint=max_norm, beta_constraint=max_norm)
86 self.assertEqual(layer.gamma.constraint, max_norm)
87 self.assertEqual(layer.beta.constraint, max_norm)
449 max_norm = keras.constraints.max_norm
451 gamma_constraint=max_norm, beta_constraint=max_norm)
453 self.assertEqual(layer.gamma.constraint, max_norm)
454 self.assertEqual(layer.beta.constraint, max_norm)
Dsimplernn_test.py85 k_constraint = keras.constraints.max_norm(0.01)
86 r_constraint = keras.constraints.max_norm(0.01)
87 b_constraint = keras.constraints.max_norm(0.01)
Dlocal_test.py104 k_constraint = keras.constraints.max_norm(0.01)
105 b_constraint = keras.constraints.max_norm(0.01)
221 k_constraint = keras.constraints.max_norm(0.01)
222 b_constraint = keras.constraints.max_norm(0.01)
Dgru_test.py191 k_constraint = keras.constraints.max_norm(0.01)
192 r_constraint = keras.constraints.max_norm(0.01)
193 b_constraint = keras.constraints.max_norm(0.01)
Dlstm_test.py104 k_constraint = keras.constraints.max_norm(0.01)
105 r_constraint = keras.constraints.max_norm(0.01)
106 b_constraint = keras.constraints.max_norm(0.01)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops.py55 max_norm=None): argument
162 max_norm=max_norm)
591 max_norm=None): argument
675 max_norm=max_norm,
719 max_norm=None, argument
732 if max_norm is not None:
737 return clip_ops.clip_by_norm(x, max_norm, axes=list(range(1, ndims)))
Dfeature_column.py1091 max_norm=None, argument
1114 max_norm,
1156 max_norm=self.max_norm,
1290 max_norm=args.max_norm)
1324 max_norm=None, argument
1361 max_norm=max_norm, trainable=trainable)
1371 max_norm=None, argument
1435 shared_embedding_name, max_norm=max_norm,
1479 max_norm=max_norm, trainable=trainable))
1537 max_norm=None,
Doptimizers.py380 max_norm, log_mean = _adaptive_max_norm(norm, std_factor, decay,
385 summary.scalar("global_norm/adaptive_max_gradient_norm", max_norm)
388 factor = array_ops.where(norm < max_norm,
/external/tensorflow/tensorflow/python/keras/
Dconstraints_test.py56 norm_instance = keras.constraints.max_norm(m)
61 norm_instance = keras.constraints.max_norm(2.0)
Dconstraints.py173 max_norm = MaxNorm variable
179 maxnorm = max_norm
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dvariable_clipping_optimizer.py56 max_norm, argument
80 self._max_norm = max_norm
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.feature_column.pbtxt29 …r\', \'initializer\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\']…
65 …ng_collection_name\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\']…
Dtensorflow.keras.constraints.max_norm.pbtxt1 path: "tensorflow.keras.constraints.max_norm"
Dtensorflow.keras.constraints.pbtxt24 name: "max_norm"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.feature_column.pbtxt29 …r\', \'initializer\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\']…
73 …ng_collection_name\', \'ckpt_to_load_from\', \'tensor_name_in_ckpt\', \'max_norm\', \'trainable\']…
Dtensorflow.keras.constraints.max_norm.pbtxt1 path: "tensorflow.keras.constraints.max_norm"
Dtensorflow.keras.constraints.pbtxt24 name: "max_norm"
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning.py280 def clip_gradient_norms(gradients_to_variables, max_norm): argument
294 tmp = clip_ops.clip_by_norm(grad.values, max_norm)
297 grad = clip_ops.clip_by_norm(grad, max_norm)
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Dclip_weights_impl.py78 max_norm=weight_clip,
/external/tensorflow/tensorflow/contrib/keras/api/keras/constraints/
D__init__.py23 from tensorflow.python.keras.constraints import max_norm
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2.py824 max_norm=None, argument
918 max_norm=max_norm,
930 max_norm=None, argument
1089 max_norm=max_norm,
1103 max_norm=None, argument
1256 categorical_column=column, combiner=combiner, max_norm=max_norm))
3069 max_norm=self.max_norm)
3241 def __call__(self, categorical_column, combiner, max_norm): argument
3242 return SharedEmbeddingColumn(categorical_column, self, combiner, max_norm)
3336 max_norm=self.max_norm)

12