InnerProductLayer ND-tensor step 1
InnerProduct: converting parameters to ND-tensor
ND tensor for HDF5-output layer
ND-tensor support for neurons
InnerProductLayer ND-tensor support, step 3: output is now 2D-tensor
ND-tensor for softmax, logistic-loss and softmax-loss