-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
import blosc2
def udf1p(inputs, output, offset):
x = inputs[0]
offset[:] = x + 1
shape = (23,)
array = blosc2.ones(shape)
expr = blosc2.lazyudf(udf1p, (array,), np.float64, shape)
res_lazyexpr = expr[2]
fails because LazyUDF defines an out parameter. Probably it is necessary to rewrite some of the __getitem__ function to correctly calculate the out shape as a function of the desired slice.
Metadata
Metadata
Assignees
Labels
No labels