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 — Fix typo and fix reference to old class that was renamed · ldfaiztt/DeepLearningTutorials@00961d2

File tree

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

‎code/convolutional_mlp.py‎

Copy file name to clipboardExpand all lines: code/convolutional_mlp.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def evaluate_lenet5(learning_rate=0.1, n_epochs=200,
171171
image_shape=(batch_size, nkerns[0], 12, 12),
172172
filter_shape=(nkerns[1], nkerns[0], 5, 5), poolsize=(2, 2))
173173

174-
# the TanhLayer being fully-connected, it operates on 2D matrices of
174+
# the HiddenLayer being fully-connected, it operates on 2D matrices of
175175
# shape (batch_size,num_pixels) (i.e matrix of rasterized images).
176176
# This will generate a matrix of shape (20,32*4*4) = (20,512)
177177
layer2_input = layer1.output.flatten(2)
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
@@ -107,7 +107,7 @@ class MLP(object):
107107
108108
A multilayer perceptron is a feedforward artificial neural network model
109109
that has one layer or more of hidden units and nonlinear activations.
110-
Intermediate layers usually have as activation function thanh or the
110+
Intermediate layers usually have as activation function tanh or the
111111
sigmoid function (defined here by a ``HiddenLayer`` class) while the
112112
top layer is a softamx layer (defined here by a ``LogisticRegression``
113113
class).

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.