class_docstr: Helper class to manage losses.
class_docstr_tok: ["Helper","class","to","manage","losses","."]
docstr: Get scaled version of GAN loss.
docstr_tok: ["Get","scaled","version","of","GAN","loss","."]
code: def get_scaled_g_loss(self, g_loss):
      """Get scaled version of GAN loss."""
      with tf.name_scope("scaled_g_loss"):
          return g_loss * self._config.loss_config.CP
  
imports: import collections
  import glob
  import itertools
  from compare_gan.gans import loss_lib
  import tensorflow.compat.v1
  import tensorflow_datasets
  from hific import archs
  from hific import helpers
  from hific.helpers import ModelMode
  from hific.helpers import ModelType
  from hific.helpers import TFDSArguments
label_desc: Use image node_id 5 for calling the _LossScaler obj's underlying member method code with example usage: obj.get_scaled_g_loss(g_loss) and returns: unknown