DiscriminatorHingeLoss¶
Inheritance Diagram
-
class
ashpy.losses.gan.
DiscriminatorHingeLoss
[source]¶ Bases:
ashpy.losses.gan.DiscriminatorAdversarialLoss
Hinge 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
fn
Return the Keras loss function to execute. global_batch_size
Global batch size comprises the batch size for each cpu. weight
Return the loss weight.