-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Comments
Added docs for the .max() method closes #8251#8263
Added docs for the .max() method closes #8251 #8263abdultalha0862 wants to merge 3 commits intoCodecademy:main from
Conversation
abdultalha0862
commented
Feb 24, 2026
@mamtawardhani I have solved this issue #8251
Ready for the review. Please let me know if there are any changes.
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.
Pull request overview
This PR adds documentation for PyTorch's .max() tensor operation method, addressing issue #8251. The documentation follows the standard structure used for PyTorch tensor operations in Codecademy Docs.
Changes:
- Added new documentation entry for the
.max()method under PyTorch tensor operations - Included introduction, syntax, and example sections following the documentation template
- Provided code example demonstrating basic usage of finding maximum values in a tensor
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updated the description to clarify that .max() can return maximum values across a specified dimension. Added the 'out' parameter to the syntax and clarified return values.
@mamtawardhani
mamtawardhani
left a comment
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 PR looks good for a second round of review! 🚀
Description
Added PyTorch
max()Function DocumentationIssue Solved
#8251
Type of Change
Checklist
mainbranch.Issues Solvedsection.