Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ND4J: INDArray.get(interval(x,y)) on rank 1 array returns rank 2 array #6347
Increasing the rank of the array doesn't make sense for the 1D input case.
Note also that the equality is actually passing here too, but I don't think it should - expected has shape  but subset has shape [1,5]