Skip to content

Fix tensor expressions and add InnerProduct expression#7277

Merged
connortsui20 merged 1 commit intodevelopfrom
ct/inner-product
Apr 3, 2026
Merged

Fix tensor expressions and add InnerProduct expression#7277
connortsui20 merged 1 commit intodevelopfrom
ct/inner-product

Conversation

@connortsui20
Copy link
Copy Markdown
Contributor

Summary

Fixes a bunch of bugs and issues with tensor expressions (execution, validity handling) and adds an InnerProduct expression. CosineSimilarity now calls into both InnerProduct and L2Norm.

Fun side change: adds std::result::Result::and to the list of disallowed methods.

API Changes

Adds some nice helpers for creating scalar fn expressions and arrays.

Testing

Some more tests, mainly making sure that validity is handled correctly now.

@connortsui20 connortsui20 requested a review from gatesn April 3, 2026 14:52
@connortsui20 connortsui20 added the changelog/feature A new feature label Apr 3, 2026
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 merged commit d879349 into develop Apr 3, 2026
62 of 63 checks passed
@connortsui20 connortsui20 deleted the ct/inner-product branch April 3, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants