Skip to content

Add dot and dotperm for tensor inner products - #241

Merged
mtfishman merged 11 commits into
mainfrom
mf/dotperm
Oct 8, 2026
Merged

mtfishman merged 11 commits into
mainfrom
mf/dotperm

Conversation

@mtfishman

@mtfishman mtfishman commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Compute tensor inner products with dimensions aligned by labels or permutations.

Align tensor dimensions through matricization before computing the inner product.
@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.02%. Comparing base (783ebd9) to head (fb336b4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #241      +/-   ##
==========================================
+ Coverage   83.43%   84.02%   +0.58%     
==========================================
  Files          29       30       +1     
  Lines         948      970      +22     
==========================================
+ Hits          791      815      +24     
+ Misses        157      155       -2     
Flag Coverage Δ
docs 25.67% <100.00%> (+1.87%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Align tensor dimensions by labels before delegating to dotperm.
@mtfishman mtfishman changed the title [WIP] Add dotperm for inner products with dimension alignment [WIP] Add dot and dotperm for tensor inner products Oct 7, 2026
@mtfishman mtfishman changed the title [WIP] Add dot and dotperm for tensor inner products Add dot and dotperm for tensor inner products Oct 8, 2026
@mtfishman
mtfishman marked this pull request as ready for review October 8, 2026 15:55
@mtfishman
mtfishman enabled auto-merge (squash) October 8, 2026 15:55
@mtfishman
mtfishman merged commit ab47698 into main Oct 8, 2026
21 checks passed
@mtfishman
mtfishman deleted the mf/dotperm branch October 8, 2026 17:11
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.

1 participant