MCPcopy Create free account
hub / github.com/dask/dask / _elemwise_handle_where

Function _elemwise_handle_where

dask/array/core.py:5217–5222  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

5215
5216
5217def _elemwise_handle_where(*args, **kwargs):
5218 function = kwargs.pop("elemwise_where_function")
5219 *args, where, out = args
5220 if hasattr(out, "copy"):
5221 out = out.copy()
5222 return function(*args, where=where, out=out, **kwargs)
5223
5224
5225def _elemwise_normalize_out(out):

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected