Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale.py289 def _op_in_graph_mode(tensor): function
309 math_ops.is_finite(value), lambda: _op_in_graph_mode(var.assign(value)),
431 incr_loss_scale, lambda: _op_in_graph_mode(
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py191 def _op_in_graph_mode(tensor): function
211 math_ops.is_finite(value), lambda: _op_in_graph_mode(var.assign(value)),
373 lambda: _op_in_graph_mode(self.counter.assign_add(1)))