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
Hello, I'm trying to multiply a vector of length in_len with a matrix of size (in_len, out_len). However, I found the result deviates greatly when out_len exceeds a certain value.
It seems to be related to the polynomial modulus degree, because when I set in_len + out_len > poly_modulus_degree/2 + 1, the result obviously deviates from the expected value.
Could anyone provide an explanation for why this happens? Any help would be appreciated.
Hello, I'm trying to multiply a vector of length in_len with a matrix of size (in_len, out_len). However, I found the result deviates greatly when out_len exceeds a certain value.
It seems to be related to the polynomial modulus degree, because when I set in_len + out_len > poly_modulus_degree/2 + 1, the result obviously deviates from the expected value.
Could anyone provide an explanation for why this happens? Any help would be appreciated.
out_len = 4096 - 28*28 + 1:
The deviation is around 0.1% from the expected value.
out_len = 4096 - 28*28 + 3:
The deviation is around 0.1% for results [0:4096], but over 1% for results [4097:], and it continues to deteriorate with a larger out_len.
The text was updated successfully, but these errors were encountered: