提交 3cfd3f3f authored 作者: David Warde-Farley's avatar David Warde-Farley

Function signature updates in the docs.

上级 f5e9db52
...@@ -81,7 +81,7 @@ Reference ...@@ -81,7 +81,7 @@ Reference
Initialize object attributes. Initialize object attributes.
.. function:: function(inputs, outputs, mode=None, updates=[], givens=[], accept_inplace=False, name=None) .. function:: function(inputs, outputs, mode=None, updates=None, givens=None, accept_inplace=False, name=None)
Return a callable object that will calculate `outputs` from `inputs`. Return a callable object that will calculate `outputs` from `inputs`.
......
...@@ -1160,7 +1160,7 @@ Linear Algebra ...@@ -1160,7 +1160,7 @@ Linear Algebra
Gradient / Differentiation Gradient / Differentiation
========================== ==========================
.. function:: grad(cost, wrt, g_cost=None, consider_constant=[], warn_type=False) .. function:: grad(cost, wrt, g_cost=None, consider_constant=None, warn_type=False)
Return symbolic gradients for one or more variables with respect to some Return symbolic gradients for one or more variables with respect to some
cost. cost.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论