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 — Fixed signed bug in weight initialization · able/DeepLearningTutorials@4256877

File tree

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

‎code/mlp.py‎

Copy file name to clipboardExpand all lines: code/mlp.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, input, n_in, n_hidden, n_out):
8383
# the output of uniform if converted using asarray to dtype
8484
# theano.config.floatX so that the code is runable on GPU
8585
W2_values = numpy.asarray( numpy.random.uniform(
86-
low = numpy.sqrt(6./(n_hidden+n_out)), \
86+
low = -numpy.sqrt(6./(n_hidden+n_out)), \
8787
high= numpy.sqrt(6./(n_hidden+n_out)),\
8888
size= (n_hidden, n_out)), dtype = theano.config.floatX)
8989

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.