Hi Dr. Po-Wei Wang
many thanks for opensourcing this greate work. When I read through your code. I have noticed there are a few differnce between the code and the paper:
- at
src/satnet_cpu.cpp in function mix_kernel, for the backward pass, you use g = -(I-v_i v_i') (g+v_0 dz[i]), but I checked that based on the paper's algorithm 3 this should be dg=-P*(g - v_o dz[i]) with a minus sign? please correct me if im wrong.
- in the paper, for dl/dS and dl/zi, in both equation 11 and 12, there are minus signs. but in the code it becomes:
dS = U W + V Phi and dzi = v0'Phi si. please can you tell me why the signs are reversed?
many thanks for you help!
sichao y