DiscriminatorAdversarialLoss

Inheritance Diagram

Inheritance diagram of ashpy.losses.gan.DiscriminatorAdversarialLoss

class ashpy.losses.gan.DiscriminatorAdversarialLoss(loss_fn=None)[source]

Bases: ashpy.losses.gan.GANExecutor

Base class for the adversarial loss of the discriminator.

Methods

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

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__(loss_fn=None)[source]

Initialize the Executor.

Parameters:
Return type:

None