GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — use floatX dtype for bias - fixed · willfu/DeepLearningTutorials@878f952

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • code
    • SdA.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎code/SdA.py‎

Copy file name to clipboardExpand all lines: code/SdA.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def __init__(self, n_visible= 784, n_hidden= 500, corruption_level = 0.1,\
213213
low = -numpy.sqrt(6./(n_hidden+n_visible)), \
214214
high = numpy.sqrt(6./(n_hidden+n_visible)), \
215215
size = (n_visible, n_hidden)), dtype = theano.config.floatX)
216-
initial_b = numpy.zeros(n_hidden)
216+
initial_b = numpy.zeros(n_hidden, dtype = theano.config.floatX)
217217

218218

219219
# theano shared variables for weights and biases

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.