Skip to content

Commit 0ef0b4d

Browse files
committed
Make DLT compatible with Theano 0.7
1 parent 0054116 commit 0ef0b4d

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)