diff nnet_ops.py @ 381:e4473d9697d7

Added xent loss
author Joseph Turian <turian@gmail.com>
date Tue, 08 Jul 2008 01:57:33 -0400
parents f6a7eb1b7970
children b4efd192d880
line wrap: on
line diff
--- a/nnet_ops.py	Mon Jul 07 02:15:14 2008 -0400
+++ b/nnet_ops.py	Tue Jul 08 01:57:33 2008 -0400
@@ -379,4 +379,3 @@
 def crossentropy_softmax_1hot(x, y_idx, **kwargs):
     b = tensor.zeros_like(x[0,:])
     return crossentropy_softmax_1hot_with_bias(x, b, y_idx, **kwargs)
-