You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C++ torch::nn::Sequential clone() method overwrites child module names #71069
actionablemodule: cppRelated to C++ APImodule: nnRelated to torch.nntriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
actionablemodule: cppRelated to C++ APImodule: nnRelated to torch.nntriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Activity
jbschlosser commentedon Jan 10, 2022
Hey @meganset, thanks for the report! We'd accept a PR fixing this to properly set the child module names when cloned.
Preserve submodule names in torch::nn::Sequential::clone() (pytorch#1…
Preserve submodule names in torch::nn::Sequential::clone() (pytorch#1…
Preserve submodule names in torch::nn::Sequential::clone() (pytorch#1…