You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code to reproduce the error is shown above. If one of the lines is changed to the following it works as expected with no issues. Splicing could be running too far off the array so the size is different but I am not sure.
targetBox.set(new NDIndex(":, 1::2"), array -> array.mul(-1).add(1));
The text was updated successfully, but these errors were encountered:
Hey all. I may have encountered an issue with NDIndex splicing of NDArrays when using splice increments.
Exception in thread "main" ai.djl.engine.EngineException: MXNet engine call failed: MXNetError: Check failed: src.Size() == dst->Size() (3 vs. 2) : Cannot reshape array of size 3 into shape [1,2]
Code to reproduce the error is shown above. If one of the lines is changed to the following it works as expected with no issues. Splicing could be running too far off the array so the size is different but I am not sure.
targetBox.set(new NDIndex(":, 1::2"), array -> array.mul(-1).add(1));
The text was updated successfully, but these errors were encountered: