Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_benchmark.py115 scaled_loss = opt.get_scaled_loss(loss)
Dloss_scale_optimizer.py622 def get_scaled_loss(self, loss): member in LossScaleOptimizer
680 loss = self.get_scaled_loss(loss)
692 loss = self.get_scaled_loss(loss)
Dloss_scale_optimizer_test.py142 self.assertEqual(10., self.evaluate(opt.get_scaled_loss(loss)))
143 self.assertEqual(10., self.evaluate(opt.get_scaled_loss(lambda: loss)()))
145 self.assertEqual(10., self.evaluate(opt.get_scaled_loss(loss)))
146 self.assertEqual(10., self.evaluate(opt.get_scaled_loss(lambda: loss)()))
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.mixed_precision.-loss-scale-optimizer.pbtxt81 name: "get_scaled_loss"
Dtensorflow.keras.mixed_precision.experimental.-loss-scale-optimizer.pbtxt82 name: "get_scaled_loss"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.mixed_precision.-loss-scale-optimizer.pbtxt81 name: "get_scaled_loss"
Dtensorflow.keras.mixed_precision.experimental.-loss-scale-optimizer.pbtxt82 name: "get_scaled_loss"
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager_v1.py264 scaled_total_loss = model.optimizer.get_scaled_loss(total_loss)