Skip to content

Commit

Permalink
Update activation.py (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao authored and wagamamaz committed Sep 16, 2018
1 parent a6d67bc commit 02954cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorlayer/activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def sign(x):
https://arxiv.org/abs/1602.02830
"""
with tf.get_default_graph().gradient_override_map({"sign": "QuantizeGrad"}):
with tf.get_default_graph().gradient_override_map({"Sign": "QuantizeGrad"}):
return tf.sign(x, name='sign')


Expand Down

0 comments on commit 02954cc

Please sign in to comment.