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
Is the TanhLayer.vhdl's logic correct?. it just bit slices the SUM_WIDTH long bit array to BITWIDTH wide. it won't even consider the sign bit. Just take the least significant BITWIDTH bits.
The text was updated successfully, but these errors were encountered:
Few commits ago I reformulated the tanh layer hdl. This new implementation TanHLayer is kind of trashy
It's supposed to implement a piece-wise approximation of the TanH described here https://hal.archives-ouvertes.fr/hal-01654697/document . If you find time to improve its behavior, please pull request :)
Is the TanhLayer.vhdl's logic correct?. it just bit slices the SUM_WIDTH long bit array to BITWIDTH wide. it won't even consider the sign bit. Just take the least significant BITWIDTH bits.
The text was updated successfully, but these errors were encountered: