/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | utils.py | 87 def make_gradient_clipnorm_fn(clipnorm): argument 89 if clipnorm is None: 101 (clip_ops.clip_by_norm(g, clipnorm), v) for g, v in grads_and_vars 108 def make_global_gradient_clipnorm_fn(clipnorm): argument 110 if clipnorm is None: 122 clipped_grads, _ = clip_ops.clip_by_global_norm(grads, clipnorm)
|
D | optimizer_v2.py | 417 self.clipnorm = kwargs.pop("clipnorm", None) 419 if self.clipnorm is not None and self.global_clipnorm is not None: 422 self.clipnorm, self.global_clipnorm)) 426 def clipnorm(self): member in OptimizerV2 435 @clipnorm.setter 436 def clipnorm(self, val): member in OptimizerV2 1024 if self.clipnorm is not None: 1025 config["clipnorm"] = self.clipnorm
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | loss_scale_optimizer.py | 841 def clipnorm(self): member in LossScaleOptimizer 842 return self._optimizer.clipnorm 844 @clipnorm.setter 845 def clipnorm(self, val): member in LossScaleOptimizer 846 self._optimizer.clipnorm = val
|
/external/tensorflow/tensorflow/python/keras/ |
D | optimizers_test.py | 158 optimizer_v1.SGD(lr=0.01, momentum=0.9, clipnorm=0.5)) 235 _ = optimizer_v1.Adam(clipnorm=-2.0)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.optimizers.-s-g-d.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-adamax.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-nadam.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-ftrl.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-adadelta.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-adam.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adadelta.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-r-m-sprop.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 7 name: "clipnorm"
|
D | tensorflow.optimizers.-adagrad.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adam.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-s-g-d.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.optimizers.-r-m-sprop.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adamax.pbtxt | 8 name: "clipnorm"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 7 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-ftrl.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adam.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-adadelta.pbtxt | 8 name: "clipnorm"
|
D | tensorflow.keras.optimizers.-r-m-sprop.pbtxt | 8 name: "clipnorm"
|