### Description While loading training data into an NDArray an exception is being thrown. In this example "i" was 455, "xDim" = 740, "yDim" = 532 <img width="1722" height="334" alt="Image" src="https://github.com/user-attachments/assets/2cd24a17-7aa5-4582-84da-d1592c0bb3f1" /> this is the stack trace <img width="1173" height="169" alt="Image" src="https://github.com/user-attachments/assets/21c6ec25-8ce8-4aed-a426-7925dbda45dd" /> ### Reproduction Steps probably loading as much data as in the description above into an NDArray of the same shape. With this code: <img width="739" height="394" alt="Image" src="https://github.com/user-attachments/assets/5be0254b-2037-4c4d-af24-4c09e13653a1" /> ### Known Workarounds Don't use NDArrays, use Tensors and a Dataset instead. Something like this: <img width="1014" height="398" alt="Image" src="https://github.com/user-attachments/assets/994001a0-805c-4fa7-873b-9b890146c8be" /> ### Configuration and Other Information TensorFlow.NET version is 0.150.0 target .net version is 9.0 OS is windows 11