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

Add outer product implementation #213

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

akhilg-nv
Copy link
Collaborator

@akhilg-nv akhilg-nv commented Sep 19, 2024

No description provided.

@akhilg-nv akhilg-nv marked this pull request as draft September 19, 2024 00:38
@akhilg-nv
Copy link
Collaborator Author

I've modified the implementation to use matrix multiply rather than element-wise multiply even though they behave the same for the unsqueezed 1-d vectors, since it's more conceptually natural.

@akhilg-nv akhilg-nv self-assigned this Sep 19, 2024
@akhilg-nv akhilg-nv marked this pull request as ready for review September 19, 2024 22:25

from tests import helper
import tripy as tp
class TestOuter:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you plan to add integration tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wasn't sure what case to test other than what's in the docstring and this frontend test.

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.

3 participants