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

Slow Compilation when large numbers of features in L2C #30

Open
BirkhoffG opened this issue Nov 24, 2023 · 1 comment
Open

Slow Compilation when large numbers of features in L2C #30

BirkhoffG opened this issue Nov 24, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@BirkhoffG
Copy link
Owner

Idea: Split xs into feature-level arrays:

start_end = jnp.array([[0, 1], [1, 2], [2, 3]])
xs = jrand.normal(jrand.PRNGKey(0), (4, 3),)

# split xs into 3 parts according to start_end
xs_split = jnp.split(xs, start_end[1, :], axis=1)
@BirkhoffG BirkhoffG added the enhancement New feature or request label Nov 24, 2023
@BirkhoffG BirkhoffG self-assigned this Nov 24, 2023
@BirkhoffG
Copy link
Owner Author

The proposed method seems not to work

@BirkhoffG BirkhoffG mentioned this issue Apr 3, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant