title: RuntimeError: mean is not implemented for type torch.ByteTensor
body: <p>I am getting this error after running my code:
  &quot;RuntimeError: mean is not implemented for type torch.ByteTensor&quot;?
  Do anyone know what I am doing wrong here?</p>
  <p><code>accuracy = torch.mean(output)</code></p>