Home
last modified time | relevance | path

Searched refs:clipnorm (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dutils.py87 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)
Doptimizer_v2.py417 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/
Dloss_scale_optimizer.py841 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/
Doptimizers_test.py158 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/
Dtensorflow.keras.optimizers.-s-g-d.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-adamax.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adagrad.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-nadam.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-ftrl.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-adadelta.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-adam.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adadelta.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-r-m-sprop.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-optimizer.pbtxt7 name: "clipnorm"
Dtensorflow.optimizers.-adagrad.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adam.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-s-g-d.pbtxt8 name: "clipnorm"
Dtensorflow.optimizers.-r-m-sprop.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adamax.pbtxt8 name: "clipnorm"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.optimizers.-optimizer.pbtxt7 name: "clipnorm"
Dtensorflow.keras.optimizers.-ftrl.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adagrad.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adam.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-adadelta.pbtxt8 name: "clipnorm"
Dtensorflow.keras.optimizers.-r-m-sprop.pbtxt8 name: "clipnorm"

12