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

determine tensor shapes programmatically #23

Open
SauravMaheshkar opened this issue Oct 15, 2024 · 0 comments
Open

determine tensor shapes programmatically #23

SauravMaheshkar opened this issue Oct 15, 2024 · 0 comments
Labels
feature 🚀 New feature or request

Comments

@SauravMaheshkar
Copy link
Collaborator

If you explore the test suite, you will find that we have hard-coded the tensor shapes in multiple places, viz.

jflux/tests/test_math.py

Lines 47 to 52 in e307cf8

B, H, L, D = (
1,
24,
4336,
128,
)

Ideally, we can add a utility function in tests/utils.py that can determine the output shape.

@SauravMaheshkar SauravMaheshkar added the feature 🚀 New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant