fx: don't copy by reference
Here:
https://github.com/huggingface/transformers/blob/9fc1951711e5377ffa1f06614ca37d4d5ad281a8/src/transformers/utils/fx.py#L307

there's a copy by reference which is problematic because you append values to `shape`. 
You should make it a copy by value, e.g. by adding the following line right after:
``
shape = shape[:]
``

Cheers, Guy :)
cc @michaelbenayoun <|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.