BinaryCrossentropyΒΆ
Computes the cross-entropy loss between true labels and predicted labels.
Abstract Signature:
BinaryCrossentropy(from_logits: bool = False, label_smoothing: float = 0.0, axis: int = -1, reduction: str = sum_over_batch_size, name: str = binary_crossentropy)
Flax NNX
API:
optax.sigmoid_binary_cross_entropyStrategy: Plugin (loss_wrapper)