pytorch
cbede834 - [JIT] Add support for default argument values to Torchbind (#51253)

Commit
4 years ago
[JIT] Add support for default argument values to Torchbind (#51253) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51253 **Summary** This commit adds support to Torchbind for specifying default values for arguments of custom class methods. **Test Plan** This commit adds a unit test to `test_torchbind.py` that exercises this feature. Test Plan: Imported from OSS Reviewed By: gmagogsfm Differential Revision: D26131529 Pulled By: SplitInfinity fbshipit-source-id: 68bc86b045dd2f03ba41e1a116081a6eae6ba9ff
Author
Meghan Lele
Parents
Loading