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

[bug fix] make TanhNormal.mode a property #2

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

typoverflow
Copy link
Contributor

- This is for compatibility with newer versions of PyTorch, where mode is made a class property of distributions. See pytorch/pytorch#76690 for details.
@IcarusWizard
Copy link
Collaborator

LGTM. cc @mzktbyjc2016 for merging.

@mzktbyjc2016 mzktbyjc2016 merged commit 08f51b5 into polixir:master Nov 21, 2022
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.

None yet

3 participants