/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_embedding_v2_utils.py | 61 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 …]
|
D | tpu_embedding_v2_utils_test.py | 35 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/ |
D | utils.py | 129 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)
|
D | optimizer_v2.py | 423 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/ |
D | tensorflow.tpu.experimental.embedding.-s-g-d.pbtxt | 8 …ht_decay_factor\', \'multiply_weight_decay_factor_by_learning_rate\', \'clipvalue\'], varargs=None…
|
D | tensorflow.tpu.experimental.embedding.-adagrad.pbtxt | 8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
|
D | tensorflow.tpu.experimental.embedding.-adam.pbtxt | 8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
|
D | tensorflow.keras.optimizers.-s-g-d.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.optimizers.-adamax.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.optimizers.-nadam.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-ftrl.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.optimizers.-adadelta.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.optimizers.-adam.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-adadelta.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-r-m-sprop.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 11 name: "clipvalue"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.tpu.experimental.embedding.-s-g-d.pbtxt | 8 …ht_decay_factor\', \'multiply_weight_decay_factor_by_learning_rate\', \'clipvalue\'], varargs=None…
|
D | tensorflow.tpu.experimental.embedding.-adagrad.pbtxt | 8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
|
D | tensorflow.tpu.experimental.embedding.-adam.pbtxt | 8 …eight_decay_factor_by_learning_rate\', \'slot_variable_creation_fn\', \'clipvalue\'], varargs=None…
|
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 11 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-ftrl.pbtxt | 12 name: "clipvalue"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 12 name: "clipvalue"
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_optimizer.py | 857 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/ |
D | optimizers_test.py | 163 optimizer_v1.SGD(lr=0.01, momentum=0.9, clipvalue=0.5)) 233 _ = optimizer_v1.SGD(lr=0.01, clipvalue=-0.5)
|