How can I use argmax with PyTorch?
Meta:

How could I have answered my own question? I searched the PyTorch docs and the PyTorch repo for “argmax” but got no results.
Does it make sense to use argmax with a GPU?