Binary cross-entropy loss
mlx_binary_cross_entropy.RdComputes binary cross-entropy loss between predictions and binary targets.
Usage
mlx_binary_cross_entropy(
  predictions,
  targets,
  reduction = c("mean", "sum", "none")
)mlx_binary_cross_entropy.RdComputes binary cross-entropy loss between predictions and binary targets.
mlx_binary_cross_entropy(
  predictions,
  targets,
  reduction = c("mean", "sum", "none")
)