- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.2k
 
Open
Description
apply_raw() would work like apply_ufunc(), but without the hard to understand broadcasting behavior and core dimensions.
The rule for apply_raw() would be that it directly unwraps its arguments and passes them on to the wrapped function, without any broadcasting. We would also include a dim argument that is automatically converted into the appropriate axis argument when calling the wrapped function.
Output dimensions would be determined from a simple rule of some sort:
- Default output dimensions would either be copied from the first argument, or would take on the ordered union on all input dimensions.
 - Custom dimensions could either be set by adding a 
drop_dimsargument (likedask.array.map_blocks), or require an explicit overrideoutput_dims. 
This also could be suitable for defining as a method instead of a separate function. See #1251 and #1130 for related issues.
kmsquire and max-sixty
Metadata
Metadata
Assignees
Labels
No labels