# CategoricalCrossEntropy¶

Inheritance Diagram

class ashpy.losses.gan.CategoricalCrossEntropy[source]

Categorical Cross Entropy between generator output and target.

Useful when the output of the generator is a distribution over classes.

..note::

The target must be represented in one hot notation.

Methods

 Initialize the Categorical Cross Entropy 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__()[source]

Initialize the Categorical Cross Entropy Executor.

Return type

None