pytorch
4ef82051 - [fx][normalize] Allow for args to be left as args (#55995)

Commit
3 years ago
[fx][normalize] Allow for args to be left as args (#55995) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55995 Normalization is kind of broken currently. But making default arguments visible still appears to work, and is nice functionality to still be able to rely on/use. Adds an option to `NormalizeArgs`'s `__init__` called `normalize_to_only_use_kwargs` which defaults to true, which if set to false will keep using the same signature as provided, but additionally set kwargs in kwargs. Test Plan: Added test to `test_fx_experimental`. Reviewed By: 842974287 Differential Revision: D27759448 fbshipit-source-id: 620061fcf46d8549ac70b62aede8b6740aee3778
Author
Parents
Loading