pytorch
ae534dc9 - [TorchScript] Explicitly disallow del with more than 1 operand. (#38089)

Commit
4 years ago
[TorchScript] Explicitly disallow del with more than 1 operand. (#38089) Summary: del in python supports multiple operands, but PyTorch c++ frontend doesn't support that. To be consistent across different frontends, we decided to throw an exception when finding del with multiple operands inside torchscript. Pull Request resolved: https://github.com/pytorch/pytorch/pull/38089 Test Plan: Unit tests in test/jit/test_builtins.py Differential Revision: D21478900 Pulled By: SplitInfinity fbshipit-source-id: 1cbd61301680c5d6652ef104996178cefcdd3716
Author
ycao
Parents
Loading