-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from ragavvenkatesan/dev
batch norm post activations
- Loading branch information
Showing
9 changed files
with
664 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. _batch_norm: | ||
|
||
:mod:`batch_norm` - Batch normalization layer classes | ||
====================================================== | ||
|
||
The file ``yann.layers.batch_norm.py`` contains the definition for the batch norm layers. Batch norm | ||
can by default be applied to convolution and fully connected layers by sullying an argument | ||
``batch_norm = True``, in the layer arguments. But this in-built method applies batch norm | ||
prior to layer activation. Some architectures including ResNet involves batch norms after the | ||
activations of the layer. Therefore there is a need for an independent batch norm layer that simply | ||
applies batch norm for some outputs. The layers in this module can do that. | ||
|
||
There are four classes in this file. Two for one-dimensions and two for two-dimnensions. | ||
|
||
.. automodule:: yann.layers.batch_norm | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
numpy>=1.11 | ||
theano>=0.8.0 | ||
theano==0.9.0rc1 | ||
scipy>=0.18 | ||
progressbar>=2 | ||
skdata>=0.0.4 | ||
pillow>=4.0 | ||
matplotlib | ||
|
||
matplotlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ pydot-ng | |
pydotplus | ||
pygraphviz | ||
graphviz | ||
networkx | ||
matplotlib | ||
networkx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.