Mercurial > pylearn
diff _nnet_ops.py @ 25:b63e8c0bf21b
added __init__.py, fixed crossentropy_softmax_1hot function name
author | bergstrj@iro.umontreal.ca |
---|---|
date | Thu, 10 Apr 2008 20:53:44 -0400 |
parents | 2e8be9f5412b |
children | bf0145fa73e8 |
line wrap: on
line diff
--- a/_nnet_ops.py Thu Apr 10 17:25:13 2008 -0400 +++ b/_nnet_ops.py Thu Apr 10 20:53:44 2008 -0400 @@ -18,7 +18,7 @@ def test0(self): y_idx = [0,1,3] def output1(a): - return cross_entropy_softmax_1hot(a, y_idx)[0:1] + return crossentropy_softmax_1hot(a, y_idx)[0:1] TT.verify_grad(self, output1, [numpy.random.rand(3,4)])