Skip to content

Add vmap support for Categorical, Normal, and Independent.#180

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_463702654
Jul 29, 2022
Merged

Add vmap support for Categorical, Normal, and Independent.#180
copybara-service[bot] merged 1 commit intomasterfrom
test_463702654

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Jul 27, 2022

Add vmap support for Categorical, Normal, and Independent.

Support for vmap requires all metadata such as batch and event shapes to be computed on-demand from the array properties of the class, rather than cached up front in the constructor, since the array properties of the class might change during vmap.

@copybara-service copybara-service bot force-pushed the test_463702654 branch 2 times, most recently from 3781f65 to b0d1800 Compare July 29, 2022 07:38
Support for `vmap` requires all metadata such as batch and event shapes to be computed on-demand from the array properties of the class, rather than cached up front in the constructor, since the array properties of the class might change during `vmap`.

PiperOrigin-RevId: 464022299
@copybara-service copybara-service bot merged commit 599692e into master Jul 29, 2022
@copybara-service copybara-service bot deleted the test_463702654 branch July 29, 2022 08:13
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.

0 participants