SIGN IN SIGN UP

fix forward _partition_and_lower_one_graph_module

Summary:
D60296909 broke some executorch backend code.

Note that `inputs_to_buffers`, `buffers`, `inputs_to_parameters`, `parameters` on a graph signature were all property accessors even before that diff, so mutating operations like `pop()` and `remove()` had no effect since a new list / dict was returned on every property access.
That diff makes them immutable so `pop()` and `remove()` are now errors.

Reviewed By: pssrawat

Differential Revision: D60642036

fbshipit-source-id: 7e65f333acda59d99d541ef3f3c4be008d10572f
A
Avik Chaudhuri committed
1b6d5bb3a10dbcaa7769f775efd87c5d2a12306d
Parent: 0caaf3f
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/2/2024, 6:38:36 PM