-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Test exporting batch norm, dropout, RNN #11126
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
Conversation
46debd8
to
1a4aa28
Compare
test/test_jit.py
Outdated
class BatchnormTest(torch.nn.Module): | ||
def __init__(self): | ||
super(BatchnormTest, self).__init__() | ||
self.batchnorm = torch.nn.BatchNorm1d(100) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
1a4aa28
to
94e5b14
Compare
test/test_jit.py
Outdated
return self.dropout(x) | ||
|
||
test = DropoutTest() | ||
test.eval() |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
test/test_jit.py
Outdated
def forward(self, x): | ||
return self.dropout(x) | ||
|
||
test = DropoutTest() |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
5a8c561
to
98f4c13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jamesr66a is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
98f4c13
to
58a23a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jamesr66a is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Pull Request resolved: pytorch#11126 Differential Revision: D9727689 Pulled By: jamesr66a fbshipit-source-id: f142257a2fba27d86844bf33084174f1f68a8ca5
No description provided.