Skip to content

Instantly share code, notes, and snippets.

@mtrencseni
Last active February 8, 2019 21:22
Show Gist options
  • Save mtrencseni/ae8c2b405025c21a63c6562d8dc7dcff to your computer and use it in GitHub Desktop.
Save mtrencseni/ae8c2b405025c21a63c6562d8dc7dcff to your computer and use it in GitHub Desktop.
torch.set_default_tensor_type('torch.cuda.FloatTensor')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment