Skip to content

Conversation

@yf225
Copy link
Contributor

@yf225 yf225 commented Nov 14, 2019

This PR adds reset_parameters to the torch::nn modules whose Python version also has reset_parameters defined, so that there is better parity between Python and C++ version.

@kostmo
Copy link
Member

kostmo commented Nov 14, 2019

CircleCI build failures summary

As of commit 74ef167:

  • 1/1 failures introduced in this PR
  • 0/1 recognized as flaky

Here are the reasons each build failed:

Job Step Log excerpt
pytorch_linux_xenial_cuda9_cudnn7_py3_nogpu_test Test main()\':\n/tmp/torch_extensions/test_compilation_error_formatting/main.cpp:2:23: error:

This comment was automatically generated by Dr. CI.
Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@yf225 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@yf225 yf225 added the module: cpp Related to C++ API label Nov 15, 2019
@facebook-github-bot
Copy link
Contributor

@yf225 merged this pull request in 893105b.

csarofeen pushed a commit to mruberry/pytorch that referenced this pull request Nov 18, 2019
Summary:
This PR adds `reset_parameters` to the torch::nn modules whose Python version also has `reset_parameters` defined, so that there is better parity between Python and C++ version.
Pull Request resolved: pytorch#29832

Differential Revision: D18515939

Pulled By: yf225

fbshipit-source-id: 5aa23e5c7ce1026787c04ffeb6c7f167620dd491
@facebook-github-bot facebook-github-bot deleted the cpp_module_reset_parameter branch July 13, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cpp Related to C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants