Skip to content

Commit

Permalink
Merge pull request #1360 from yingzha/dev
Browse files Browse the repository at this point in the history
added docstring to get_weights_format
  • Loading branch information
memimo committed Jan 20, 2015
2 parents 9132584 + 1b66a79 commit 9870dec
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pylearn2/models/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,16 @@ def set_biases(self, biases):

def get_weights_format(self):
"""
.. todo::
Returns a description of how to interpret the weights of the layer.
Returns
-------
format: tuple
Either ('v', 'h') or ('h', 'v').
('v', 'h') means a weight matrix of shape
(num visible units, num hidden units),
while ('h', 'v') means the transpose of it.
WRITEME
"""
raise NotImplementedError

Expand Down

0 comments on commit 9870dec

Please sign in to comment.