Skip to content

Commit c286d63

Browse files
committed
Merge pull request lisa-lab#141 from nouiz/master2
Make DLT compatible with Theano 0.7
2 parents 0054116 + 0ef0b4d commit c286d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/DBN.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def pretraining_functions(self, train_set_x, batch_size, k):
174174

175175
# compile the theano function
176176
fn = theano.function(
177-
inputs=[index, theano.In(learning_rate, value=0.1)],
177+
inputs=[index, theano.Param(learning_rate, default=0.1)],
178178
outputs=cost,
179179
updates=updates,
180180
givens={

0 commit comments

Comments
 (0)