pytorch
bf60c6e7 - [JIT] remove prim::SetAttr from list of ops with side effects (#68311)

Commit
3 years ago
[JIT] remove prim::SetAttr from list of ops with side effects (#68311) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/68311 prim::SetAttr is listed as an op with side effects, but in AliasDb, `analyzeSetAttr` already accounts for its behavior. By removing it from the list of ops with side effects, dead code elimination will work in a few other scenarios. Test Plan: Imported from OSS Reviewed By: mrshenli Differential Revision: D32409510 fbshipit-source-id: 52ed9e19f92afb95c669ad3c2440f72f9515ba4c
Author
Parents
Loading