ashpy.losses.gan.get_adversarial_loss_discriminator¶
-
ashpy.losses.gan.
get_adversarial_loss_discriminator
(adversarial_loss_type=<AdversarialLossType.GAN: 1>)[source]¶ Return the correct loss fot the Discriminator.
Parameters: adversarial_loss_type ( ashpy.losses.gan.AdversarialLossType
) – Type of loss (ashpy.losses.gan.AdversarialLossType.GAN
orashpy.losses.gan.AdversarialLossType.LSGAN
)Return type: Type
[Executor
]Returns: The correct ( ashpy.losses.executor.Executor
) (to be instantiated).