Assignment 3 relu

59 views
Skip to first unread message

Taha Liaqat

unread,
Oct 25, 2020, 3:11:52 PM10/25/20
to cmpt-295-sfu
SFU ID: 301393248
Github username: tliaqat
Line and file: relu.s line 46-54
Expected behavior: The matrix values are changed
Observed behavior: The matrix values are the same
Question: Why doesn't anything I do change the values of the matrix? Right now in the code (46-54), I have multiple random operations to try and find any way I can change the values

ali sedaghati

unread,
Oct 25, 2020, 3:41:56 PM10/25/20
to cmpt-295-sfu
You're not storing the result. You should use "sw" for storing the result of relu function. And, make sure that you do the computation and storing before changing the pointer.

Taha Liaqat

unread,
Oct 26, 2020, 4:58:04 AM10/26/20
to cmpt-295-sfu
thanks you, I got it working

Taha Liaqat

unread,
Oct 26, 2020, 4:58:43 AM10/26/20
to cmpt-295-sfu
*thank
Reply all
Reply to author
Forward
0 new messages