API REFERENCE
Accuracy for 2D parallelism
Calculate the accuracy of predicted labels.
logits – Predicted labels
targets – True labels from data