- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.3k
feat(pytorch): Add complete term entry for PyTorch Tensor .real() ope… #7897
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
feat(pytorch): Add complete term entry for PyTorch Tensor .real() ope… #7897
Conversation
…ration (#7853) Signed-off-by: Raja Rathour <imraja729@gmail.com>
| @mamtawardhani , please check the PR | 
Updated documentation for the .real() method in PyTorch to include title, description, subjects, tags, and examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for a second review! 🚀
| Thanks for the approval! Waiting for the workflow to be approved so that the CI checks can run 😊 | 
Co-authored-by: Radhika-okhade <radhika.9628@gmail.com>
Co-authored-by: Radhika-okhade <radhika.9628@gmail.com>
Co-authored-by: Radhika-okhade <radhika.9628@gmail.com>
Co-authored-by: Radhika-okhade <radhika.9628@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are few changes required. Once they are addressed, the PR is good to be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The entry looks good to be merged.
| 👋 @Raja-89 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/pytorch/tensor-operations/real Please note it may take a little while for changes to become visible. | 
Adds a new term entry for the PyTorch tensor .real() attribute. This entry provides comprehensive documentation for accessing the real part of complex tensors, including details on the shared memory view (modifying the view updates the original tensor).
Files Created: docs/content/pytorch/concepts/tensor-operations/terms/real/real.md
Content Included: Introduction, Syntax, Example, and Key Takeaways.
Related issue(s):
Closes #7853
Type of Change
[x] Adding a new entry
[ ] Editing an existing entry (fixing a typo, bug, issues, etc)
[ ] Updating the documentation
Checklist
[x] All writings are my own.
[x] My entry follows the Codecademy Docs style guide.
[x] My changes generate no new warnings.
[x] I have performed a self-review of my own writing and code.
[x] I have checked my entry and corrected any misspellings.
[ ] I have made corresponding changes to the documentation if needed.
[x] I have confirmed my changes are not being pushed from my forked main branch.
[x] I have confirmed that I'm pushing from a new branch named after the changes I'm making.
[x] I have linked any issues that are relevant to this PR in the Issues Solved section.