You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in /CNN+ATT/test.h, line 114, it seems that the function vector<double> test(int *sentence, int *testPositionE1, int *testPositionE2, int len, float *r) is never used, since vector<double> score is never used in the following codes.
Therefore, * r, which should represent sentence encoding in function vector<double> test(int *sentence, int *testPositionE1, int *testPositionE2, int len, float *r), now is a random vector in void* testMode(void *id ) and is then pushed into r_tmp.
Did I miss something? Thanks!
The text was updated successfully, but these errors were encountered:
Hi, in /CNN+ATT/test.h, line 114, it seems that the function
vector<double> test(int *sentence, int *testPositionE1, int *testPositionE2, int len, float *r)
is never used, sincevector<double> score
is never used in the following codes.Therefore,
* r
, which should represent sentence encoding in functionvector<double> test(int *sentence, int *testPositionE1, int *testPositionE2, int len, float *r)
, now is a random vector invoid* testMode(void *id )
and is then pushed intor_tmp
.Did I miss something? Thanks!
The text was updated successfully, but these errors were encountered: