### 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 Initialize xData NDArray after the loop. Create a temporary list of NDArrays and add them to xData after the loop. Something like this: <img width="714" height="471" alt="Image" src="https://github.com/user-attachments/assets/bb6d05ae-4ed2-451b-acd9-096103e0a4f3" /> ### Configuration and Other Information TensorFlow.NET version is 0.150.0 target .net version is 9.0 OS is windows 11