Skip to content

Conversation

@zachjweiner
Copy link

Here's a first attempt (tests, etc., will have to come another day). Some notes:

  • This remains backwards-compatible with parameter_names, but I'm happy to axe it entirely if you aren't committed to parameter_names as supported without deprecation.
  • Setting state (self.param_slice_shape) after __init__ isn't ideal, but I'm not sure how else to get that info to compute_log_prob.

@zachjweiner zachjweiner force-pushed the allow-dict-input-state branch from d689416 to ab63bf4 Compare October 21, 2024 18:53
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