title: Pytorch: tensor normalization giving bad result
body: <p>I have a tensor of longitudes/latitudes that i want to normalize. I want to use this tensor to perform a neural network algorithm on it that returns me the best trip between these different long/lat.
  I used this function:</p>
  <pre><code>from torch.nn.functional import normalize
  t=normalize(locations)
  </code></pre>
  <p>This is a lign in my tensor
  [ 0.0000, 36.4672, 36.4735, 36.4705, 36.4638, 36.4671],
  [ 0.0000, 10.7637, 10.7849, 10.7822, 10.7821, 10.7637]],</p>
  <p>This is after normalization:
  [0.0000, 0.2181, 0.2181, 0.2181, 0.2179, 0.2179],
  [0.0000, 0.2186, 0.2194, 0.2194, 0.2196, 0.2188]],</p>
  <p>As you can see the result is not good because there are many values repeating and this is affecting my results.
  Is there another way to normalize my tensor? I'm using pytorch in this project.</p>