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