bundles / scipy latest / scipy / _lib / array_api_extra / testing / _dask_wrap
function
scipy._lib.array_api_extra.testing:_dask_wrap
Signature
def _dask_wrap ( func : Callable[P, T] , n : int ) → Callable[P, T] Summary
Wrap func to raise if it attempts to call dask.compute more than n times.
Extended Summary
After the function returns, materialize the graph in order to re-raise exceptions.
Aliases
-
scipy.differentiate.xpx.testing._dask_wrap