GeneratorHingeLoss¶

Inheritance Diagram

class ashpy.losses.gan.GeneratorHingeLoss[source]

Hinge 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

 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.
__init__()[source]

Initialize the Least Square Loss for the Generator.

Return type: None