Skip to content
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

docs: add numeric tensor examples #2514

Merged
merged 5 commits into from
Nov 20, 2024

Conversation

quinton11
Copy link
Contributor

Pull Request Template

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

#2450
Provide links to relevant issues and dependent PRs.

Changes

Tensor NumericOps Examples

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82.92%. Comparing base (bff67dc) to head (9d46040).
Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
crates/burn-tensor/src/tensor/api/numeric.rs 96.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2514      +/-   ##
==========================================
+ Coverage   82.87%   82.92%   +0.04%     
==========================================
  Files         814      815       +1     
  Lines      105383   105381       -2     
==========================================
+ Hits        87338    87383      +45     
+ Misses      18045    17998      -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@quinton11
Copy link
Contributor Author

@laggui @nathanielsimard

Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

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

LGTM!

Your changes made me realize that the previously added docstring examples used the wrong display formatting so I changed them.

Also fixed some minor formatting stuff just to make the examples shorter (mostly the tensor values formatted on a single line)

@quinton11
Copy link
Contributor Author

Thanks!

@laggui laggui merged commit 2132d47 into tracel-ai:main Nov 20, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants