class_docstr: Helper class to manage losses.
class_docstr_tok: ["Helper","class","to","manage","losses","."]
docstr: Get weighted D.
docstr_tok: ["Get","weighted","D","."]
code: def _get_weighted_distortion_loss(self, loss_config, distortion_loss):
      """Get weighted D."""
      return distortion_loss * loss_config.CD * loss_config.C
  
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 3 for calling the _LossScaler obj's underlying member method code with example usage: obj._get_weighted_distortion_loss(loss_config, distortion_loss) and returns: unknown