changeset 1530:08b3e827575a

Change class path as Theano want to hide the Deprecated Module interface.
author Frederic Bastien <nouiz@nouiz.org>
date Fri, 12 Jul 2013 13:46:45 -0400
parents 9737834dcb0f
children 88f361283a19
files pylearn/sandbox/scan_inputs_groups.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/sandbox/scan_inputs_groups.py	Mon Mar 11 16:56:54 2013 -0400
+++ b/pylearn/sandbox/scan_inputs_groups.py	Fri Jul 12 13:46:45 2013 -0400
@@ -388,7 +388,7 @@
     and the index list with some positive values changed to negative values (groups masking)"""
     def __init__(self, seed = 1):
         self.M=theano.Module()
-        self.M.rand = T.RandomStreams(seed)
+        self.M.rand = T.randomstreams.RandomStreams(seed)
         self.seed = seed
         mat = T.matrix('mat')
         noise_level_bit = T.dscalar('noise_level_bit')