(out)
| 5024 | |
| 5025 | |
| 5026 | def _elemwise_normalize_out(out): |
| 5027 | if isinstance(out, tuple): |
| 5028 | if len(out) == 1: |
| 5029 | out = out[0] |
| 5030 | elif len(out) > 1: |
| 5031 | raise NotImplementedError("The out parameter is not fully supported") |
| 5032 | else: |
| 5033 | out = None |
| 5034 | if not (out is None or isinstance(out, Array)): |
| 5035 | raise NotImplementedError( |
| 5036 | f"The out parameter is not fully supported." |
| 5037 | f" Received type {type(out).__name__}, expected Dask Array" |
| 5038 | ) |
| 5039 | return out |
| 5040 | |
| 5041 | |
| 5042 | def handle_out(out, result): |
no outgoing calls
no test coverage detected