torch_one_hot_argmax¶ probly.metrics.torch.torch_one_hot_argmax(probabilities: Tensor) → Tensor[source]¶ One-hot encode the first maximum of each probability vector of a torch tensor.