title: Unique values in PyTorch tensor
body: <p>I'm tying to find distinct values in a PyTorch tensor. Is there an efficient analogue of Tensorflow's <a href="https://www.tensorflow.org/api_docs/python/tf/unique" rel="nofollow noreferrer">unique op</a>?</p>