[FX] Rename reduce functions back to their old, public names (#64324)
authorJames Reed <jamesreed@fb.com>
Wed, 1 Sep 2021 05:20:41 +0000 (22:20 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 1 Sep 2021 05:36:11 +0000 (22:36 -0700)
commit0c4e4e588e2e3308c659f741e7bc5cabf0975c09
treed7eb4fe0fb568efa1b91f45588ef94046de14fd2
parent05ecaefbbfa157ad2d6353ef9b2a53892f7ed34c
[FX] Rename reduce functions back to their old, public names (#64324)

Summary:
Unfortunately pickle serializes the names of these functions. Also put them under backward-compatibility enforcement.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64324

Test Plan: Local repro https://fb.workplace.com/groups/3440841732711443/permalink/4018921611570116/

Reviewed By: SplitInfinity, TailofJune

Differential Revision: D30684185

Pulled By: jamesr66a

fbshipit-source-id: 900701220155d15115cd0c07cf7774a2891bd04f
test/expect/TestFXAPIBackwardCompatibility.test_function_back_compat-fx_backcompat_function_signatures.expect
torch/fx/graph_module.py