Closed extremety1989 closed 3 years ago
If you're already doing a matrix multiply (adding a bias term, for instance) the easiest way to do this is directly with the sgemm
method.
beta
to -1
C
(the last argument)If you aren't doing a multiply beforehand, the best way is with the saxpy
method.
a
to -1
X
Y
Please let me know if this helps you.
well
Why is there no Substraction method ?