SIGN IN SIGN UP

Store the Tensor inline in TensorPtr (#5684)

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

We can preserve the existing interface (except release(), which is problematic anyway!) and avoid an unnecessary heap allocation.

ghstack-source-id: 244967796

Reviewed By: shoumikhin

Differential Revision: D63468988

fbshipit-source-id: a0905fc8afa0970624f53109b4f92d791bec1d15
S
Scott Wolchok committed
53936dc9ce79fdc7213494635e571613cf1a5550
Parent: e6237f7
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 9/27/2024, 7:36:24 PM