GeneratorBCE¶
Inheritance Diagram

-
class
ashpy.losses.gan.GeneratorBCE(from_logits=True)[source]¶ Bases:
ashpy.losses.gan.GeneratorAdversarialLossThe Binary CrossEntropy computed among the generator and the 1 label.
\[L_{G} = E [\log (D( G(z))]\]Methods
__init__([from_logits])Initialize the BCE Loss for the Generator. Attributes
fnReturn the Keras loss function to execute. global_batch_sizeGlobal batch size comprises the batch size for each cpu. weightReturn the loss weight.