IGITUGraz / eligibility_propagation

Other
84 stars 33 forks source link

Fix example python numerical_verification_eprop_hardcoded_vs_autodiff.py in tf1.0 #6

Open florian6973 opened 6 months ago

florian6973 commented 6 months ago

Variable 'gradients_autodiff' not declared without this fix in numerical_verification_eprop_hardcoded_vs_autodiff.py

Also, I did a few changes in the existing code to be able to run the autodiff check, using the tf2 compatibility module. Code can be found here: https://github.com/florian6973/btt-spyx