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

Consider inferring ufunc output dimensions/sizes/dtypes #30

Open
aazuspan opened this issue Jul 23, 2024 · 1 comment
Open

Consider inferring ufunc output dimensions/sizes/dtypes #30

aazuspan opened this issue Jul 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@aazuspan
Copy link
Contributor

Currently Image.apply_ufunc_across_bands requires that output dimensions, sizes, and dtypes are explicitly defined. To simplify usage, we could consider running a small piece of test data through the ufunc and inferring those parameters. This approach is taken by dask.array.apply_gufunc via apply_infer_dtype.

We may find there's a good reason that Dask doesn't attempt to infer dimensions or sizes, but I think this is worth a closer look.

@aazuspan aazuspan added the enhancement New feature or request label Jul 23, 2024
@aazuspan aazuspan self-assigned this Jul 23, 2024
@grovduck
Copy link
Member

Nice, I'll be curious about what you find here.

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

No branches or pull requests

2 participants