Mercurial > pylearn
diff nnet_ops.py @ 218:df3fae88ab46
small debugging
author | Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca> |
---|---|
date | Fri, 23 May 2008 12:22:54 -0400 |
parents | 44dd9b6448c5 |
children | f6a7eb1b7970 |
line wrap: on
line diff
--- a/nnet_ops.py Thu May 22 19:08:46 2008 -0400 +++ b/nnet_ops.py Fri May 23 12:22:54 2008 -0400 @@ -44,7 +44,7 @@ return ScalarSoftplus.static_impl(x) def grad(self, (x,), (gz,)): return [gz * scalar_sigmoid(x)] - def c_code(self, node, name, (x,), (z,), sub): + def c_code(self, name, node, (x,), (z,), sub): if node.inputs[0].type in [scalar.float32, scalar.float64]: return """%(z)s = %(x)s < -30.0