We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code:
require 'cutorch' require 'dpnn' local v = torch.CudaTensor.zeros(torch.CudaTensor.new(), 5) v[3] = 1 local one_hot = nn.OneHot(5):cuda() one_hot:forward(v)
Gives me this error:
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-75/cutorch/lib/THC/generic/THCStorage.c line=147 error=77 : an illegal memory access was encountered
Am I missing something really, really obvious or is this a really weird bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code:
Gives me this error:
Am I missing something really, really obvious or is this a really weird bug?
The text was updated successfully, but these errors were encountered: