Skip to content

Add Lambda#68

Open
gvcallen wants to merge 1 commit into
lockwo:mainfrom
gvcallen:lambda
Open

Add Lambda#68
gvcallen wants to merge 1 commit into
lockwo:mainfrom
gvcallen:lambda

Conversation

@gvcallen

@gvcallen gvcallen commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Adds the Lambda bijector. Implemented using distrax's lambda as a reference

@gvcallen gvcallen changed the title Add Lambda bijector Add Lambda Apr 4, 2026
@lockwo

lockwo commented Apr 6, 2026

Copy link
Copy Markdown
Owner

@gvcallen

gvcallen commented Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

I do still think so, since its more about semantic clarity than anything else. For example Equinox itself has both eqx.nn.Identity and eqx.nn.Lambda.

Lambda wraps an arbitrary JAX-traceable forward (and optionally
inverse) function as a bijector, deriving the inverse and/or log-det
Jacobian automatically where not explicitly provided. Implemented using
distrax's Lambda as a reference.
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.

2 participants