(out)
| 5228 | |
| 5229 | |
| 5230 | def _elemwise_normalize_out(out): |
| 5231 | if isinstance(out, tuple): |
| 5232 | if len(out) == 1: |
| 5233 | out = out[0] |
| 5234 | elif len(out) > 1: |
| 5235 | raise NotImplementedError("The out parameter is not fully supported") |
| 5236 | else: |
| 5237 | out = None |
| 5238 | if not (out is None or isinstance(out, Array)): |
| 5239 | raise NotImplementedError( |
| 5240 | f"The out parameter is not fully supported." |
| 5241 | f" Received type {type(out).__name__}, expected Dask Array" |
| 5242 | ) |
| 5243 | return out |
| 5244 | |
| 5245 | |
| 5246 | def handle_out(out, result): |
no outgoing calls
no test coverage detected
searching dependent graphs…