Skip to content

Commit

Permalink
doc for layer_type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Mar 3, 2017
1 parent 2fbfd19 commit cdc13af
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 cdc13af

Please sign in to comment.