-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
discussionDiscuss a topic or question not necessarily with a clear output in mind.Discuss a topic or question not necessarily with a clear output in mind.refactoringSome code shall be redesignedSome code shall be redesigned
Milestone
Description
I was thinking about the batch_shape argument which we use across bayesflow, especially in the simulator.
Currently, we use batch_shape = (int,) to allow for potentially multi-dimensional batch shapes. My feeling is that we will never need more than one batch dimension such that we could replace batch_shape = (int,) with batch_size = int patterns throughout. That is, with the batch_size approach, we would always only have and allow for a single batch dimension.
I was wondering what others thing about this? Tagging @LarsKue and @stefanradev93. Also, @daniel-habermann do you think we would need (or at least benefit from) multiple batch dims for multilevel models?
Metadata
Metadata
Assignees
Labels
discussionDiscuss a topic or question not necessarily with a clear output in mind.Discuss a topic or question not necessarily with a clear output in mind.refactoringSome code shall be redesignedSome code shall be redesigned