pred = prob[label, np.arange(len(label), dtype=np.int32)] What does this line do in OhemCrossEntropy do?
pred = prob[label, np.arange(len(label), dtype=np.int32)]
What does this line do in OhemCrossEntropy do?