mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51517 Fix get/set attributes when getting/setting a model parameter. This PR also fixes inplace ops in If blocks. Test Plan: Imported from OSS Reviewed By: pbelevich Differential Revision: D26203116 Pulled By: SplitInfinity fbshipit-source-id: bed6ee6dd92b5b43febc8c584a6872290f8fe33f