Scala NDArrayIter example help

Hi, I cannot find a single example of how to use NDArrayIter to load data using Scala API, can someone please help me with that?

https://mxnet-beta.staged.apache.org/api/scala/docs/api/#org.apache.mxnet.io.NDArrayIter

You can follow the arguments in the documentation and then you get something you can iterate over to get some DataBatch similarly to how the MNISTIter is used here: https://mxnet.apache.org/api/scala/docs/tutorials/mnist