SIGN IN SIGN UP

Fix bug in memory planning (#1300)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/1300

This diff fixes bug in memory planning where const tensors are also
memory planned for.

A proper fix should be a done a bit differently as mentioned int he
comment.

Reviewed By: ydwu4

Differential Revision: D51625496

fbshipit-source-id: 746963beea027558f6eafc6d799ce7f9d4770933
K
Kimish Patel committed
475231e9284b0701c6a4bb39c7f606cf99057d17
Parent: cb2ff0f
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 11/30/2023, 7:58:58 PM