GeneratorHingeLoss

Inheritance Diagram

Inheritance diagram of ashpy.losses.gan.GeneratorHingeLoss

class ashpy.losses.gan.GeneratorHingeLoss[source]

Bases: ashpy.losses.gan.GeneratorAdversarialLoss

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