Skip to content

Fix ctx-autograd problems for _SimpleConsensus#1

Merged
tchang1997 merged 2 commits into
tchang1997:masterfrom
shreyas-bk:master
Jan 12, 2021
Merged

Fix ctx-autograd problems for _SimpleConsensus#1
tchang1997 merged 2 commits into
tchang1997:masterfrom
shreyas-bk:master

Conversation

@shreyas-bk
Copy link
Copy Markdown

Save dim and consensus_type as separate varilables of ctx

Save dim and consensus_type as separate variables in ctx
@tchang1997
Copy link
Copy Markdown
Owner

This looks good. Thanks for your help! I wonder if there's an alternative to setting members of ctx directly...I didn't see anything from a quick search on the PyTorch forum.

@tchang1997 tchang1997 merged commit b55ad67 into tchang1997:master Jan 12, 2021
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.

2 participants