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

feat: Bisect-k #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

oliverdutton
Copy link

@oliverdutton oliverdutton commented Mar 9, 2022

Implementation for K-bin bisection in JAX. A test needs to be added, particularly to check it deals with extra dimensions properly.

k option threaded through higher level functions and classes.

Small bug fix in JaxTransformer where bisection_eps and domain weren't threaded to to_torch.

Where k=2 the provided bisect method is used so that minimal changes are introduced. I am sure for k=2 the pure bisect will be faster than bisect_k even after jit'ing.

@Olllom Olllom requested a review from jonkhler March 10, 2022 10:30
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