class_docstr: Helper class to manage losses.
class_docstr_tok: ["Helper","class","to","manage","losses","."]
code: def __init__(self, hific_config, ignore_schedules: bool):
      # Set to true by model if training or validation.
      self._ignore_schedules = ignore_schedules
      self._config = hific_config
  
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 1 to create a new _LossScaler object from inherited base classes: object with example: obj = _LossScaler(hific_config, ignore_schedules)