      # Ignore linting errors from Tensorflow's thoroughly broken import system
      from tensorflow import keras
      from tensorflow.keras import losses as k_losses  # pylint:disable=import-error
      from tensorflow.keras import backend as K  # pylint:disable=import-error
  
  if get_tf_version() < 2.4:
      import tensorflow.keras.mixed_precision.experimental as mixedprecision  # noqa pylint:disable=import-error,no-name-in-module
  else:
 
</s> remove     mixed_precision: bool
        ``True`` if mixed precision training is to be enabled otherwise ``False``
    arguments: :class:`argparse.Namespace`
        The arguments that were passed to the train or convert process as generated from
        Faceswap's command line arguments
 </s> add  </s> remove         clipnorm: bool
            Whether to clip gradients to avoid exploding/vanishing gradients
        mixed_precision: bool
            ``True`` if mixed precision training is to be enabled otherwise ``False``
        arguments: :class:`argparse.Namespace`
            The arguments that were passed to the train or convert process as generated from
            Faceswap's command line arguments
 </s> add         autoclip: bool
            ``True`` if AutoClip should be enabled otherwise ``False`` </s> remove         if clipnorm and (arguments.distributed or mixed_precision):
            logger.warning("Clipnorm has been selected, but is unsupported when using distributed "
                           "or mixed_precision training, so has been disabled. If you wish to "
                           "enable clipnorm, then you must disable these other options.")
            clipnorm = False
        if clipnorm and get_backend() == "amd":
            # TODO add clipnorm in for plaidML when it is fixed upstream. Still not fixed in
            # release 0.7.0.
            logger.warning("Due to a bug in plaidML, clipnorm cannot be used on AMD backends so "
                           "has been disabled")
            clipnorm = False
        if clipnorm:
            self._kwargs["clipnorm"] = 1.0
 </s> add         if not autoclip:
            return
    from lib.model.autoclip import AutoClipper  # pylint:disable=ungrouped-imports
      # Ignore linting errors from Tensorflow's thoroughly broken import system
      from tensorflow import keras
      from tensorflow.keras import losses as k_losses  # pylint:disable=import-error
      from tensorflow.keras import backend as K  # pylint:disable=import-error
    from lib.model.autoclip import AutoClipper  # pylint:disable=ungrouped-imports
  
  if get_tf_version() < 2.4:
      import tensorflow.keras.mixed_precision.experimental as mixedprecision  # noqa pylint:disable=import-error,no-name-in-module
  else:
keep keep keep add keep keep keep keep
 Nvidia: Add AutoClip training option 
plugins/train/model/_base/settings.py