Skip to content

Commit

Permalink
Fix docs for Conv2d
Browse files Browse the repository at this point in the history
Summary: as per title

Reviewed By: jacobkahn

Differential Revision: D13679654

fbshipit-source-id: 3f4654e4cc347c1ebc0933045d6bd5041428861c
  • Loading branch information
vineelpratap authored and facebook-github-bot committed Jan 15, 2019
1 parent e609863 commit 432e71b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flashlight/nn/modules/Conv2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ namespace fl {
* and generates an output of shape [\f$X_{out}\f$, \f$Y_{out}\f$,
* \f$C_{out}\f$, \f$N\f$]
* where \f$C_{out}\f$ is the number of output channels,
* \f[X_{out} = \frac{X_{in} + 2 \times X_{pad} - 1}{X_{stride}} + 1\f] and
* \f[Y_{out} = \frac{Y_{in} + 2 \times Y_{pad} - 1}{Y_{stride}} + 1\f]
* \f[X_{out} = \frac{X_{in} + 2 \times X_{pad} - X_{filter}}{X_{stride}} + 1\f]
* \f[Y_{out} = \frac{Y_{in} + 2 \times Y_{pad} - Y_{filter}}{Y_{stride}} + 1\f]
*
* Two modes for zero-padding are supported:
*
Expand Down

0 comments on commit 432e71b

Please sign in to comment.