Skip to content

Commit 93de4ed

Browse files
committed
Fix the math in lenet
1 parent f33631b commit 93de4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/lenet.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ feature map :math:`h^k` is obtained as follows (for :math:`tanh` non-linearities
139139

140140
.. Note::
141141
Recall the following definition of convolution for a 1D signal.
142-
:math:`o[n] = f[n]*g[n] = \sum_{u=-\infty}^{\infty} f[u] g[u-n] = \sum_{u=-\infty}^{\infty} f[n-u] g[u]`.
142+
:math:`o[n] = f[n]*g[n] = \sum_{u=-\infty}^{\infty} f[u] g[n-u] = \sum_{u=-\infty}^{\infty} f[n-u] g[u]`.
143143

144144
This can be extended to 2D as follows:
145-
:math:`o[m,n] = f[m,n]*g[m,n] = \sum_{u=-\infty}^{\infty} \sum_{v=-\infty}^{\infty} f[u,v] g[u-m,v-n]`.
145+
:math:`o[m,n] = f[m,n]*g[m,n] = \sum_{u=-\infty}^{\infty} \sum_{v=-\infty}^{\infty} f[u,v] g[m-u,n-v]`.
146146

147147
To form a richer representation of the data, hidden layers are composed of
148148
a set of multiple feature maps, :math:`\{h^{(k)}, k=0..K\}`.

0 commit comments

Comments
 (0)