Skip to content

[Term Entry] PyTorch Tensor Operations: .argmin()#8226

Merged
dakshdeepHERE merged 6 commits intoCodecademy:mainfrom
kim081890:add-argmin-entry
Feb 15, 2026
Merged

[Term Entry] PyTorch Tensor Operations: .argmin()#8226
dakshdeepHERE merged 6 commits intoCodecademy:mainfrom
kim081890:add-argmin-entry

Conversation

@kim081890
Copy link
Contributor

Description

Added a new term entry for the PyTorch .argmin() tensor operation. The entry includes an introduction, syntax section with parameters, and an example demonstrating usage with a 2D tensor.

Issue Solved

Closes #8190

Type of Change

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@CLAassistant
Copy link

CLAassistant commented Feb 9, 2026

CLA assistant check
All committers have signed the CLA.

@kim081890
Copy link
Contributor Author

Hi, just checking in — is there anything I need to update?

Copy link
Contributor Author

@kim081890 kim081890 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have completed, just waiting on approval thank you!

@mamtawardhani mamtawardhani self-assigned this Feb 10, 2026
Clarified the behavior of the .argmin() method regarding tensor flattening and return values. Added details about parameters and return value for better understanding.
Removed mention of returning indices along a specified dimension in the description of the .argmin() method.
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.

The PR looks good for a second round of review! 🚀

@dakshdeepHERE dakshdeepHERE added status: under review Issue or PR is currently being reviewed and removed status: ready for next review labels Feb 15, 2026
@dakshdeepHERE dakshdeepHERE self-assigned this Feb 15, 2026
Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@dakshdeepHERE dakshdeepHERE added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Feb 15, 2026
@dakshdeepHERE dakshdeepHERE merged commit 8c5db4d into Codecademy:main Feb 15, 2026
7 checks passed
@github-actions
Copy link

👋 @kim081890
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/argmin

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants