Skip to content

Add Padding to Adapter #415

New issue

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

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

Already on GitHub? # to your account

Open
LarsKue opened this issue Apr 15, 2025 · 0 comments
Open

Add Padding to Adapter #415

LarsKue opened this issue Apr 15, 2025 · 0 comments
Assignees
Labels
feature New feature or request good first issue Good for first-time contributors user interface Changes to the user interface and improvements in usability

Comments

@LarsKue
Copy link
Contributor

LarsKue commented Apr 15, 2025

See #370.

We would like to add padding functionality to the Adapter in order to speed up computations when simulator outputs differ in size. For example:

adapter.pad("y", size=100, axis=-2)

when given y.shape == (32, N, 2) outputs y.shape == (32, 100, 2) for N < 100 and errors for N > 100.

@LarsKue LarsKue added feature New feature or request good first issue Good for first-time contributors user interface Changes to the user interface and improvements in usability labels Apr 15, 2025
@jerrymhuang jerrymhuang moved this from Future to In Progress in bayesflow development Apr 27, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature New feature or request good first issue Good for first-time contributors user interface Changes to the user interface and improvements in usability
Projects
Status: In Progress
Development

No branches or pull requests

2 participants