Inheritance Diagram

Inheritance diagram of ashpy.losses.gan.GeneratorL1

class ashpy.losses.gan.GeneratorL1[source]

Bases: ashpy.losses.gan.GANExecutor

L1 loss between the generator output and the target.

\[L_G = E ||x - G(z)||_1\]

Where x is the target and G(z) is generated image.


__init__() Initialize the Executor.
call(*args, **kwargs)


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.

Initialize the Executor.

Return type:None