(*args, **kwargs)
| 5215 | |
| 5216 | |
| 5217 | def _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 | |
| 5225 | def _elemwise_normalize_out(out): |