Support python-style negative indices in axes arguments

In python, indexing as array[-k] is the same as array[N-k]. This extends that behavior to the axes argument.

Merge request reports

Loading