提交 55815f17 authored 作者: ChienliMa's avatar ChienliMa

add doc for function

上级 599d6376
...@@ -83,7 +83,7 @@ Reference ...@@ -83,7 +83,7 @@ Reference
.. function:: function(inputs, outputs, mode=None, updates=None, givens=None, no_default_updates=False, accept_inplace=False, name=None, rebuild_strict=True, allow_input_downcast=None, profile=None, on_unused_input='raise') .. function:: function(inputs, outputs, mode=None, updates=None, givens=None, no_default_updates=False, accept_inplace=False, name=None, rebuild_strict=True, allow_input_downcast=None, profile=None, on_unused_input='raise')
Return a callable object that will calculate `outputs` from `inputs`. Return a :class:`callable object <theano.compile.function_module.Function>` that will calculate `outputs` from `inputs`.
:type params: list of either Variable or Param instances, but not shared :type params: list of either Variable or Param instances, but not shared
variables. variables.
...@@ -189,3 +189,6 @@ Reference ...@@ -189,3 +189,6 @@ Reference
equivalent to Var1. equivalent to Var1.
.. autofunction:: theano.compile.function.function_dump .. autofunction:: theano.compile.function.function_dump
.. autoclass:: theano.compile.function_module.Function
:members: free, copy
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论