lmjohns3 / theanets

Neural network toolkit for Python
http://theanets.rtfd.org
MIT License
328 stars 74 forks source link

change declaration of Base layer #55

Closed ebenolson closed 9 years ago

ebenolson commented 9 years ago

This was giving me a syntax error in python 2.7. I don't know much about python3, but I made this change following https://wiki.python.org/moin/PortingToPy3k/BilingualQuickRef#metaclasses and it seems to work in both versions now.

lmjohns3 commented 9 years ago

Fantastic, thanks!