GeneratorHingeLoss¶
Inheritance Diagram

-
class
ashpy.losses.gan.GeneratorHingeLoss[source]¶ Bases:
ashpy.losses.gan.GeneratorAdversarialLossHinge loss for the Generator.
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.