Forward function to calculate accuracy. Args: pred (torch.Tensor): Prediction of models. target (torch.Tensor): Target for each prediction. Returns: tuple[float]: The accuracies under different topk criterions.
(self, pred, target)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected