Skip to content

Conversation

@Raja-89
Copy link
Contributor

@Raja-89 Raja-89 commented Oct 29, 2025

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.

…ration (#7853)

Signed-off-by: Raja Rathour <imraja729@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Oct 29, 2025

CLA assistant check
All committers have signed the CLA.

@Raja-89
Copy link
Contributor Author

Raja-89 commented Oct 29, 2025

@mamtawardhani , please check the PR

@mamtawardhani mamtawardhani self-assigned this Oct 29, 2025
Raja-89 and others added 3 commits October 29, 2025 15:15
Updated documentation for the .real() method in PyTorch to include title, description, subjects, tags, and examples.
Copy link
Collaborator

@mamtawardhani mamtawardhani left a 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! 🚀

@Raja-89
Copy link
Contributor Author

Raja-89 commented Oct 30, 2025

Thanks for the approval! Waiting for the workflow to be approved so that the CI checks can run 😊

Raja-89 and others added 2 commits October 30, 2025 11:41
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>
Copy link
Collaborator

@Radhika-okhade Radhika-okhade left a 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.

@Radhika-okhade Radhika-okhade added status: waiting for author hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest and removed status: ready for next review labels Oct 30, 2025
@Radhika-okhade Radhika-okhade self-assigned this Oct 30, 2025
Copy link
Collaborator

@Radhika-okhade Radhika-okhade left a 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.

@mamtawardhani mamtawardhani merged commit ab39eae into Codecademy:main Oct 30, 2025
6 checks passed
@github-actions
Copy link

👋 @Raja-89
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 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.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest new entry New entry or entries python Python entries pytorch PyTorch status: review 1️⃣ completed status: review 2️⃣ completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Term Entry] PyTorch Tensor Operations: .real()

4 participants