dmlc / keras

Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on MXNet, Theano or TensorFlow.
http://keras.io/
Other
125 stars 34 forks source link

fix KerasSymbol __neg__ missing decorator #56

Closed jiajiechen closed 7 years ago

jiajiechen commented 7 years ago

Problem: class KerasSymbol's neg method misses the @keras_symbol_child decorator and causes antirectifier.py example fail to run. Just simply added it and tested on the antirectifier.py example.