Skip to content

Commit

Permalink
Merge pull request #43 from ragavvenkatesan/dev
Browse files Browse the repository at this point in the history
doc for layer_type
  • Loading branch information
Ragav Venkatesan committed Mar 3, 2017
2 parents 8b827a1 + cdc13af commit 0dc65ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion yann/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ def add_layer(self, type, verbose = 2, **kwargs):
angle: Takes value between [0,1] to capture the angle between [0,180] degrees
Default is None. If None is specified, random number is generated from a uniform
distriibution between 0 and 1.
layer_type: If ``value`` supply, else it is default ``'discriminator'``
layer_type: If ``value`` supply, else it is default ``'discriminator'``. For other
layers, if the layer class takes an argument ``type``, supply that argument here
as ``layer_type``. ``merge`` layer for instance will use this arugment as its
``type`` argument.
"""
if not 'id' in kwargs.keys():
Expand Down

0 comments on commit 0dc65ad

Please sign in to comment.