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

[PYTORCH]Dropouts And InstanceNorm support added #5203

Merged
merged 2 commits into from
Apr 1, 2020

Conversation

siju-samuel
Copy link
Member

Added dropouts and InstanceNorm support.
@masahi Please help to review this PR.

Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

inp_3d = torch.rand((1, 16, 10, 10, 10))

for ins_norm, inp in [(torch.nn.InstanceNorm2d(16), inp_2d),
(torch.nn.InstanceNorm3d(16), inp_3d)]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

align

@siju-samuel siju-samuel force-pushed the pytorch_norm_dropouts branch from 767aacd to 7f48b29 Compare April 1, 2020 16:51
@masahi masahi merged commit 302e8ee into apache:master Apr 1, 2020
@masahi
Copy link
Member

masahi commented Apr 1, 2020

Thanks @siju-samuel

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Apr 16, 2020
* [PYTORCH]Dropouts And InstanceNorm support added

* Review comments fixed
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Apr 17, 2020
* [PYTORCH]Dropouts And InstanceNorm support added

* Review comments fixed
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