GeneratorL1¶
Inheritance Diagram

-
class
ashpy.losses.gan.GeneratorL1[source]¶ Bases:
ashpy.losses.gan.GANExecutorL1 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.
Methods
__init__()Initialize the Executor. call(*args, **kwargs)Attributes
fnReturn the Keras loss function to execute. global_batch_sizeGlobal batch size comprises the batch size for each cpu. weightReturn the loss weight.