DiscriminatorHingeLoss¶
Inheritance Diagram

-
class
ashpy.losses.gan.DiscriminatorHingeLoss[source]¶ Bases:
ashpy.losses.gan.DiscriminatorAdversarialLossHinge loss for the Discriminator.
See Geometric GAN 1 for more details.
- 1
Geometric GAN https://arxiv.org/abs/1705.02894
Methods
__init__()Initialize the Least Square Loss for the Generator.
Attributes
fnReturn the Keras loss function to execute.
global_batch_sizeGlobal batch size comprises the batch size for each cpu.
weightReturn the loss weight.