Skip to content

Commit

Permalink
Update maxout documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvm committed Dec 3, 2014
1 parent 4a0d846 commit 770325e
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions blocks/bricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,12 +821,10 @@ class Maxout(Brick):
"""Maxout pooling transformation.
A brick that does max pooling over groups of input units. If you use this
code in a research project, please cite
code in a research project, please cite [2]_.
This code combines the Linear brick with a Maxout brick.
"Maxout Networks" Ian J. Goodfellow, David Warde-Farley,
Mehdi Mirza, Aaron Courville, and Yoshua Bengio. ICML 2013
.. [2] "Maxout Networks" Ian J. Goodfellow, David Warde-Farley,
Mehdi Mirza, Aaron Courville, and Yoshua Bengio. ICML 2013
Parameters
----------
Expand All @@ -835,7 +833,6 @@ class Maxout(Brick):
Notes
-----
Maxout applies a set of linear transformations to a vector and selects for
each output dimension the result with the highest value.
Expand Down Expand Up @@ -871,13 +868,8 @@ def apply(self, inp):
class LinearMaxout(DefaultRNG):
"""Maxout pooling following a linear transformation.
A brick that does max pooling over groups of linear units. If you use
this code in a research project, please cite [1]_
This code combines the Linear brick with a Maxout brick.
.. [1] "Maxout Networks" Ian J. Goodfellow, David Warde-Farley,
Mehdi Mirza, Aaron Courville, and Yoshua Bengio. ICML 2013
This code combines the :class:`Linear` brick with a :class:`Maxout`
brick.
Parameters
----------
Expand All @@ -894,12 +886,6 @@ class LinearMaxout(DefaultRNG):
A `NdarrayInitialization` instance that will be used to initialize
the biases. Required by :meth:`initialize`.
Notes
-----
LinearMaxout applies a set of linear transformations to a vector and
selects for each output dimension the result with the highest value.
"""
@lazy
def __init__(self, input_dim, output_dim, num_pieces, weights_init,
Expand Down

0 comments on commit 770325e

Please sign in to comment.