Skip to content

Commit

Permalink
Mention how to implement random init.
Browse files Browse the repository at this point in the history
  • Loading branch information
null-a committed Feb 27, 2017
1 parent 4ab9c7f commit 7c4aec0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/optimization/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Parameters
draw from the Gaussian distribution described by the ``mu`` and
``sigma`` options.

Calling ``sample(dist)`` from an initialization function is not
supported, and will generate a run time error. Random
initialization strategies should instead be implemented in terms
of ``dist.sample()``. (Where ``dist`` is a :ref:`distribution
object <distributions>`.)

.. describe:: mu

The mean of the Gaussian distribution from which the initial
Expand Down

0 comments on commit 7c4aec0

Please sign in to comment.