pytorch
3cc46002 - [ONNX] Fix graph position to insert clone node for inplace op removal (#50123) (#51520)

Commit
3 years ago
[ONNX] Fix graph position to insert clone node for inplace op removal (#50123) (#51520) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51520 Previous insertBefore approach might end-up inserting clone node in inner sub-blocks, while then the node being used later at other outside call sites. Test Plan: Imported from OSS Reviewed By: pbelevich Differential Revision: D26203124 Pulled By: SplitInfinity fbshipit-source-id: 999511e901ad1087f360bb689fcdfc3743c78aa4
Author
Parents
Loading