<human>:  numpy matrix vector multiplication
<bot>: Here is some code to multiply array `a` and array `b`respective elements then sum each row of the new array

np.einsum('ji,i->j', a, b)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.