changeset 562:4bcb7189ba21

removed squashfn.py: better served by factory or dynamic symbol loading
author James Bergstra <bergstrj@iro.umontreal.ca>
date Wed, 03 Dec 2008 17:15:20 -0500
parents ecbad22bd2f5
children e878003c3009
files squashfn.py
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/squashfn.py	Wed Dec 03 17:14:18 2008 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-
-def squashfn(str):
-    if str == "sigmoid":
-        import theano.tensor.nnet as nnet
-        return nnet.sigmoid
-    elif str == "tanh":
-        import theano.tensor as t
-        return t.tanh
-    elif str == "softsign":
-        from theano.sandbox.softsign import softsign
-        return softsign
-    else: assert 0
-
-