Skip to content

Clarify Chain composition order - #345

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/clarify-chain-order
Open

Clarify Chain composition order#345
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/clarify-chain-order

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Fixes #324.

Clarify that Chain([f1, ..., fN]) applies fN first and implements f1 o ... o fN, and make the constructor ordering explicit.

Tests: uv run --python python3.12 --extra test python distrax/_src/bijectors/chain_test.py (434 passed, 78 skipped).

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.

Confusing distrax.Chain syntax

1 participant