-
Notifications
You must be signed in to change notification settings - Fork 551
Refactor write_tensor_or_raise_error to Return Error Codes Instead of Raising Errors #11051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11051
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit d11099c with merge base 2d0d7d7 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D75111482 |
@pytorchbot label "release notes: none" |
… Raising Errors (pytorch#11051) Summary: This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
6f8116e
to
e7f5ff1
Compare
… Raising Errors (pytorch#11051) Summary: This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
e7f5ff1
to
d453eb3
Compare
This pull request was exported from Phabricator. Differential Revision: D75111482 |
… Raising Errors (pytorch#11051) Summary: Pull Request resolved: pytorch#11051 This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
d453eb3
to
1833525
Compare
This pull request was exported from Phabricator. Differential Revision: D75111482 |
… Raising Errors (pytorch#11051) Summary: Pull Request resolved: pytorch#11051 This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
b45ad8d
to
a521443
Compare
… Raising Errors (pytorch#11051) Summary: This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
… Raising Errors (pytorch#11051) Summary: Pull Request resolved: pytorch#11051 This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result<long> instead of long Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG Reviewed By: Gasoonjia Differential Revision: D75111482
This pull request was exported from Phabricator. Differential Revision: D75111482 |
a521443
to
d11099c
Compare
Summary:
This PR to make the write_tensor_or_raise_error function error out more gracefully by updating the signature of write_tensor_or_raise_error to return executorch::runtime::Result instead of long
Check the error code and raise an error if needed after invoking write_tensor_or_return_error function using ET_CHECK_MSG
Reviewed By: Gasoonjia
Differential Revision: D75111482