EncoderBCE

Inheritance Diagram

Inheritance diagram of ashpy.losses.gan.EncoderBCE

class ashpy.losses.gan.EncoderBCE(from_logits=True)[source]

Bases: ashpy.losses.executor.Executor

The Binary Cross Entropy computed among the encoder and the 0 label.

Methods

__init__([from_logits]) 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__(from_logits=True)[source]

Initialize the Executor.

Return type:None