Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ef0b4d

Browse filesBrowse files
committed
Make DLT compatible with Theano 0.7
1 parent 0054116 commit 0ef0b4d
Copy full SHA for 0ef0b4d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎code/DBN.py‎

Copy file name to clipboardExpand all lines: code/DBN.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.