Closed JeremieMelo closed 2 years ago
torch version unravel_index to support CUDA tensor in Embedding layer fix minor bugs, e.g., view(-1) -> flatten(), view(out_shape) -> reshape(out_shape), warning: indices[{i}], "i" is not defined
Awesome, thanks @JeremieMelo, merging!
torch version unravel_index to support CUDA tensor in Embedding layer fix minor bugs, e.g., view(-1) -> flatten(), view(out_shape) -> reshape(out_shape), warning: indices[{i}], "i" is not defined