CategoricalCrossEntropy¶
Inheritance Diagram

-
class
ashpy.losses.gan.CategoricalCrossEntropy[source]¶ Bases:
ashpy.losses.executor.ExecutorCategorical 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
__init__()Initialize the Categorical Cross Entropy 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.