As part of a larger piece of code, I am using this
INDArray imageArray = Nd4j.create(rgbValues);
to create my input array for getting an output from my already-trained neural network. rgbValues is a single-dimensional array of approximately 10,000 floats. This one line of code takes about 3 seconds to run, and I'm not sure why. Any help with this is appreciated.