Classification accuracy metric.
Interface for evaluation metrics that accumulate statistics over batches.
Factory function for Accuracy metric.
Binary accuracy metric with a threshold of 0.5. Useful for binary classification problems with sigmoid outputs.
Convenience function to compute a metric for a single batch without accumulation. Returns the metric value directly.