提交 b02cbdac authored 作者: Gokula Krishnan's avatar Gokula Krishnan

updated softmax's doc to show it now supports hessian free as well

上级 238c3d62
...@@ -120,11 +120,7 @@ ...@@ -120,11 +120,7 @@
The softmax function will, when applied to a matrix, compute the softmax values row-wise. The softmax function will, when applied to a matrix, compute the softmax values row-wise.
:note: this uses a particular operation. But this method doesn't yet :note: this supports hessian free as well. The code of
implement the Row Operation for hessian free. If you want that, you can use
this equivalent code that has implemented the Row Operation
``exp(x)/exp(x).sum(1, keepdims=True)``. Theano would
optimize this by inserting the softmax op itself. The code of
the softmax op is more numerically stable because it uses this code: the softmax op is more numerically stable because it uses this code:
.. code-block:: python .. code-block:: python
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论