Dont generate a mutable segment if you ahve no mutable data (#4523)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/4523 Forward on a None instead of a list with one elem Reviewed By: lucylq Differential Revision: D60678833 fbshipit-source-id: 6f6ca3999ea644a13c3374d9e60dd387499bea15
J
Jacob Szwejbka committed
fbc183f21493d71cb6d377acdfcb3fd52011db39
Parent: 738842d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 8/2/2024, 10:09:30 PM