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