Skip to content

Conversation

fritzo
Copy link
Member

@fritzo fritzo commented Jan 4, 2021

This adds support for more uses of HaarTransform, motivated by batched epidemiological models.

  1. Documents the experimental_enable_batch kwarg (as suggested by @martinjankowiak)
  2. Mentions the experimental_enable_batch kwarg in the relevant error message.
  3. Adds reshape_batch() support for TransformedDistribution, ComposeTransform, and _InverseTransform, which are needed by HaarReparam in my model.
  4. Relaxes checking in block_plate to not error if no matching plate is found.
  5. Adds support for dist.Uniform
  6. Works around a new error in torch.view_as_complex()

Tested

@fritzo fritzo force-pushed the more-enable-batch branch from ed11330 to 46a22e3 Compare January 4, 2021 20:19
@martinjankowiak martinjankowiak merged commit e173956 into dev Jan 6, 2021
@fritzo
Copy link
Member Author

fritzo commented Jan 6, 2021

Thanks for reviewing!

@fritzo fritzo mentioned this pull request Jan 29, 2021
@fritzo fritzo deleted the more-enable-batch branch September 27, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants