Home
last modified time | relevance | path

Searched refs:clipvalue (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2_utils.py61 clipvalue: Optional[ClipValueType] = None,
67 if not use_gradient_accumulation and clipvalue is not None:
70 clipvalue))
71 if clipvalue is None:
72 clipvalue = (None, None)
73 elif not isinstance(clipvalue, tuple):
74 clipvalue = (-1. * clipvalue, clipvalue)
75 self.clip_gradient_min, self.clip_gradient_max = clipvalue
221 clipvalue: Optional[ClipValueType] = None):
244 use_gradient_accumulation = clipvalue is not None
[all …]
Dtpu_embedding_v2_utils_test.py35 optimizer(use_gradient_accumulation=False, clipvalue=0.)
37 optimizer(use_gradient_accumulation=False, clipvalue=(None, 1.))
43 opt = optimizer(clipvalue=(-1., 1.))
51 opt = optimizer(clipvalue=1.)
59 opt = optimizer(clipvalue=(None, 1))
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dutils.py129 def make_gradient_clipvalue_fn(clipvalue): argument
131 if clipvalue is None:
142 clipped_grads_and_vars = [(clip_ops.clip_by_value(g, -clipvalue,
143 clipvalue), v)
Doptimizer_v2.py423 self.clipvalue = kwargs.pop("clipvalue", None)
456 def clipvalue(self): member in OptimizerV2
460 @clipvalue.setter
461 def clipvalue(self, val): member in OptimizerV2
1026 if self.clipvalue is not None:
1027 config["clipvalue"] = self.clipvalue
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.tpu.experimental.embedding.-s-g-d.pbtxt8 …ht_decay_factor\', \'multiply_weight_decay_factor_by_learning_rate\', \'clipvalue\'], varargs=None…
Dtensorflow.tpu.experimental.embedding.-adagrad.pbtxt8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
Dtensorflow.tpu.experimental.embedding.-adam.pbtxt8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
Dtensorflow.keras.optimizers.-s-g-d.pbtxt12 name: "clipvalue"
Dtensorflow.optimizers.-adamax.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-adagrad.pbtxt12 name: "clipvalue"
Dtensorflow.optimizers.-nadam.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-ftrl.pbtxt12 name: "clipvalue"
Dtensorflow.optimizers.-adadelta.pbtxt12 name: "clipvalue"
Dtensorflow.optimizers.-adam.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-adadelta.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-r-m-sprop.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-optimizer.pbtxt11 name: "clipvalue"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.tpu.experimental.embedding.-s-g-d.pbtxt8 …ht_decay_factor\', \'multiply_weight_decay_factor_by_learning_rate\', \'clipvalue\'], varargs=None…
Dtensorflow.tpu.experimental.embedding.-adagrad.pbtxt8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
Dtensorflow.tpu.experimental.embedding.-adam.pbtxt8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
Dtensorflow.keras.optimizers.-optimizer.pbtxt11 name: "clipvalue"
Dtensorflow.keras.optimizers.-ftrl.pbtxt12 name: "clipvalue"
Dtensorflow.keras.optimizers.-adagrad.pbtxt12 name: "clipvalue"
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py857 def clipvalue(self): member in LossScaleOptimizer
858 return self._optimizer.clipvalue
860 @clipvalue.setter
861 def clipvalue(self, val): member in LossScaleOptimizer
862 self._optimizer.clipvalue = val
/external/tensorflow/tensorflow/python/keras/
Doptimizers_test.py163 optimizer_v1.SGD(lr=0.01, momentum=0.9, clipvalue=0.5))
233 _ = optimizer_v1.SGD(lr=0.01, clipvalue=-0.5)

12