Skip to content
New issue

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

batch sampling from softmax distribution #237

Closed
ghennequin opened this issue May 4, 2018 · 2 comments
Closed

batch sampling from softmax distribution #237

ghennequin opened this issue May 4, 2018 · 2 comments

Comments

@ghennequin
Copy link
Member

It would be great to have a function that does batch sampling of the (batch) output of a softmax (i.e. if the output of the softmax is MxN where M is the number of samples and N is the number of output categories, and therefore each row contains the probabilities for a categorical distribution, then we want to return an MxN matrix where each row is the one-hot encoding of a sample of the corresponding distribution).

@mseri
Copy link
Member

mseri commented Nov 22, 2019

@ryanrhymes why did you close this?

@ryanrhymes
Copy link
Member

oh, missed your comment. I closed some issues which do not seem active and critical. I also consulted jianxin who told me there are no similar APIs in other frameworks. But please do feel free to reopen it if you think this is an important feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants