Home
last modified time | relevance | path

Searched refs:current_loss_scale (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py315 def current_loss_scale(self): member in _DynamicLossScaleState
365 new_loss_scale = self.current_loss_scale * self.multiplier
367 _assign_if_finite(self.current_loss_scale, new_loss_scale),
379 self.current_loss_scale / self.multiplier, 1)
382 self.current_loss_scale.assign(new_loss_scale))
570 return ops.convert_to_tensor(self._loss_scale.current_loss_scale)