-
Notifications
You must be signed in to change notification settings - Fork 4.3k
[Term Entry] PyTorch Tensor Operations: .neg() #7902
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
Conversation
|
Hi, happy to be able to contribute! If you'd like any revisions, I'd be more than happy to make them. |
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.
Looks good for a second review! 🚀
dakshdeepHERE
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.
Entry looks good for merge 🚀
|
👋 @GooglyBlox 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/pytorch/tensor-operations/neg Please note it may take a little while for changes to become visible. |
Description
This PR adds a new term entry for the
.neg()method in PyTorch's tensor operations.This entry provides documentation on how to negate tensor elements, including syntax, parameters, return values, and practical examples demonstrating all three equivalent forms of negation in PyTorch.
The new file is located at:
docs/content/pytorch/concepts/tensor-operations/terms/neg/neg.mdIssue Solved
Closes #7847
Type of Change
Checklist
mainbranch.Issues Solvedsection.