Closed bhostetler18 closed 2 years ago
Thanks for reporting this! It ended up being a fairly straightforward issue, which only showed up with the Eigen backend for networks where an activation layer is the final layer. The issue should be fixed now on the main
branch.
Thank you for the extremely quick fix! Glad I could help slightly by reporting.
Hello! First, thank you for providing such a useful and well-written library.
I am testing a basic port of a Keras model using the RTNeural static API (relevant code and json-formatted weights provided below). I get the correct result (approximately
0.007
) when compiling with STL or XSIMD, but when I compile with Eigen as the backend I get pretty wonky answers (something like5.29656e+18
in this example). Is this potentially a numerical issue, or am I doing something wrong?I don't need to use Eigen at all, so absolutely no rush or even need to get this fixed. Just thought you might want to know if it is in fact an error and not something on my end.
RT_test.json.zip