Tensor.opIndex - multiple declarations

Function Tensor.opIndex

T = Tensor[index]

ref T opIndex(X) (
  size_t index
);

Function Tensor.opIndex

T = Tensor[i, j, ...]

T opIndex(I...) (
  in I indices
) const
if (I.length == sizes.length);