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
Currently, we are using weighted_pick to select outputs:
def weighted_pick(weights): t = np.cumsum(weights) s = np.sum(weights) return(int(np.searchsorted(t, np.random.rand(1)*s)))
Should we also add beam search as an option?
See beam search implementations in Tensorflow tensorflow/tensorflow#654!
The text was updated successfully, but these errors were encountered:
Can you please explain why cumulative sum is used here ?
Sorry, something went wrong.
No branches or pull requests
Currently, we are using weighted_pick to select outputs:
Should we also add beam search as an option?
See beam search implementations in Tensorflow tensorflow/tensorflow#654!
The text was updated successfully, but these errors were encountered: