MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / doing_loss_scaling

Method doing_loss_scaling

tensorflow/python/training/optimizer.py:414–416  ·  view source on GitHub ↗

Check if `_loss_scale` optimizer is performing loss scaling.

(self)

Source from the content-addressed store, hash-verified

412 return self._name
413
414 def doing_loss_scaling(self):
415 """Check if `_loss_scale` optimizer is performing loss scaling."""
416 return self._loss_scale is not None
417
418 def minimize(self, loss, global_step=None, var_list=None,
419 gate_gradients=GATE_OP, aggregation_method=None,

Callers 4

compute_gradientsMethod · 0.95
apply_gradientsMethod · 0.95
_distributed_applyMethod · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected