Closed c4lliope closed 1 year ago
Hey @c4lliope, thanks for reporting! Added in the commit above (note that p
must be a tensor in the latest PyTorch).
Amazingly quick response! In all my years of open-source, I really need to praise your upkeep here. I hope you keep making this essential library accessible in Ruby, so machine learning can be approached easily by more people.
No problem. Let me know if you run into anything else that's missing.
In PyTorch I can use a random generator, such as:
Is there a recommended approach for using the generator, including methods like
multinomial
?