Skip to content

Conversation

@ylevental
Copy link
Contributor

Description

This PR adds a new term entry for the .i0() method under PyTorch Tensor Operations. The entry includes:

  • Introduction explaining the modified Bessel function of the first kind of order zero
  • Syntax section with parameter details
  • Example demonstrating basic usage with various input values
  • Codebyte example showing properties like I₀(0) = 1 and symmetry I₀(-x) = I₀(x)

The entry is located at content/pytorch/concepts/tensor-operations/terms/i0/i0.md.

Issue Solved

Closes #7790

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.

Updated the description and syntax for the .i0() function, including parameters and return value. Added examples to illustrate its usage.
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! 🚀

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.

Did some minor changes and had to remove the last codebyte as our online compiler failed to run the torch lib. Looks good to merge now 🚀

@dakshdeepHERE dakshdeepHERE added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Oct 28, 2025
@dakshdeepHERE dakshdeepHERE merged commit f00cd63 into Codecademy:main Oct 28, 2025
7 checks passed
@github-actions
Copy link

👋 @ylevental
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/i0

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.

@dakshdeepHERE dakshdeepHERE added hacktoberfest hacktoberfest-accepted Indicates the PR was approved, merged, and pertains to Hacktoberfest labels Oct 28, 2025
@ylevental ylevental deleted the add-pytorch-i0 branch October 29, 2025 13:44
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: .i0()

3 participants