Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuple datatype io #394

Open
ahartikainen opened this issue Sep 10, 2023 · 0 comments
Open

Tuple datatype io #394

ahartikainen opened this issue Sep 10, 2023 · 0 comments
Labels

Comments

@ahartikainen
Copy link
Contributor

Describe the bug

Stan 2.33 brings us Tuple datatype. I think we need to handle this with a custom numpy dtype depending on the tuple type.

How can we access tuple type and pack incoming data correctly? And how should user give out the data for inits / data.

Custom numpy dtypes are easy to create and also support access to individual components, but we probably should either have small example how to work with them or a functionality to unpack them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant