Hi Matthias, When adding the biases... For example.,
* Inputs: * - X: Inputs, of shape (N, D). * - W: Weights, of shape (D, M). * - b: Biases, of shape (1, M). * * Outputs: * - out: Outputs, of shape (N, M). */ out = (X %*% W) + b; # This script works out = b + (X %*% W); # throws dimension incompatibility error. This can be confusing for the dml authors (it played with me, for a month). Thanks, Janardhan