Hi Janardhan, this is a good suggestion - so far we only support matrix-vector but no vector-matrix binary operations. However, there is already an open issue (SYSTEMML-1434) for generalizing our binary operations accordingly.
Regards, Matthias On Wed, Dec 6, 2017 at 8:26 AM, Janardhan Pulivarthi < janardhan.pulivar...@gmail.com> wrote: > 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 >