cubed.apply_gufunc#
- cubed.apply_gufunc(func, signature, *args, axes=None, axis=None, output_dtypes=None, output_sizes=None, vectorize=None, **kwargs)#
- Apply a generalized ufunc or similar python function to arrays. - This is a cutdown version of the equivalent function in Dask. Refer there for usage information. - Current limitations: - keepdims, and- allow_rechunkare not supported; and multiple outputs are not supported.- Cubed assumes that - funcwill allocate a new output array. However, if it allocates more memory than than, then you need to tell Cubed about it by setting the- extra_projected_memparameter to the amount needed in bytes (per task).