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

Implement temperature #131

Closed
wants to merge 1 commit into from
Closed

Conversation

jamesqo
Copy link

@jamesqo jamesqo commented Jul 4, 2018

This PR is the same as #28, but merge conflicts are fixed. I also got rid of the assignment to self.probs in the constructor (because it's overwritten) and moved the calculation out of the loop in sample().

Someone did comment here about not wanting to overwrite the default (temperature = 1) probs: #28 (comment). Not sure if this is still a concern.

@jamesqo jamesqo closed this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant