PyTorch-Metrics Accuracy, precision, recall, confusion matrix computation with batch updates. Usage example: https://github.com/kuangliu/pytorch-cifar/tree/metrics