|View source on GitHub|
Base class for all TF1 loss scales.
See Migration guide for more details.
This is an abstract base class, so you cannot instantiate it directly. Instead, use one of its concrete subclasses:
Loss scaling is a process that multiplies the loss by a multiplier called the loss scale, and divides each gradient by the same multiplier. The pseudocode for this process is: