(*operands, optimize=None, einsum_call=None)
| 694 | |
| 695 | |
| 696 | def _einsum_path_dispatcher(*operands, optimize=None, einsum_call=None): |
| 697 | # NOTE: technically, we should only dispatch on array-like arguments, not |
| 698 | # subscripts (given as strings). But separating operands into |
| 699 | # arrays/subscripts is a little tricky/slow (given einsum's two supported |
| 700 | # signatures), so as a practical shortcut we dispatch on everything. |
| 701 | # Strings will be ignored for dispatching since they don't define |
| 702 | # __array_function__. |
| 703 | return operands |
| 704 | |
| 705 | |
| 706 | @array_function_dispatch(_einsum_path_dispatcher, module='numpy') |
nothing calls this directly
no outgoing calls
no test coverage detected