pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
1.41k stars 230 forks source link

Enable constant propagation for `_tensor_constant`s. #3976

Open hsharma35 opened 1 week ago

hsharma35 commented 1 week ago

Summary: Enable constant propagation for nodes of type get_attr. With this change, nodes of type node = op(get_attr0, constant0, constant1, ...) can be replaced with propagated constant tensor.

Differential Revision: D58471928

pytorch-bot[bot] commented 1 week ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3976

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

facebook-github-bot commented 1 week ago

This pull request was exported from Phabricator. Differential Revision: D58471928

facebook-github-bot commented 1 week ago

This pull request was exported from Phabricator. Differential Revision: D58471928

facebook-github-bot commented 1 week ago

This pull request was exported from Phabricator. Differential Revision: D58471928