Skip to content

Clarify that the python example isn't exactly the same #1072

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

Closed
wants to merge 1 commit into from

Conversation

dbort
Copy link
Contributor

@dbort dbort commented Oct 23, 2023

Summary:
When reading this, "perform the same action" made it sound like these steps would also create an add.pte file, but that's not true.

I looked into adding the code that would actually perform the exact same action, but the AddModule isn't in exir.tests. So, instead just call out that it's not literally the same action.

While I'm here:

  • Remove the >>> so that users can copy and paste all of the lines at once
  • Remove the print, which just printed something like <executorch.exir.program._program.ExirExportedProgram object at 0x102f1ae00>

Differential Revision: D50578857

Summary:
When reading this, "perform the same action" made it sound like these steps would also create an `add.pte` file, but that's not true.

I looked into adding the code that would actually perform the exact same action, but the AddModule isn't in exir.tests. So, instead just call out that it's not literally the same action.

While I'm here:
- Remove the `>>>` so that users can copy and paste all of the lines at once
- Remove the `print`, which just printed something like `<executorch.exir.program._program.ExirExportedProgram object at 0x102f1ae00>`

Differential Revision: D50578857
@netlify
Copy link

netlify bot commented Oct 23, 2023

Deploy Preview for resplendent-gnome-14e531 ready!

Name Link
🔨 Latest commit cceac79
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/6536fb0a74d9190008c08e7c
😎 Deploy Preview https://deploy-preview-1072--resplendent-gnome-14e531.netlify.app/getting-started-setup
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Oct 23, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d8e9b26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants