我正在尝试了解 Deeplearning4j 上的 LSTM。我正在检查示例的源代码,但我无法理解。
//Allocate space:
//Note the order here:
// dimension 0 = number of examples in minibatch
// dimension 1 = size of each vector (i.e., number of characters)
// dimension 2 = length of each time series/example
INDArray input = Nd4j.zeros(currMinibatchSize,validCharacters.length,exampleLength);
INDArray labels = Nd4j.zeros(currMinibatchSize,validCharacters.length,exampleLength);
我们为什么要存储 3D 数组,这是什么意思?