提交 b152f794 authored 作者: Jakub Sygnowski's avatar Jakub Sygnowski

partial function evaluation documentation

上级 15f6a12c
......@@ -214,4 +214,4 @@ Reference
.. autofunction:: theano.compile.function.function_dump
.. autoclass:: theano.compile.function_module.Function
:members: free, copy
\ No newline at end of file
:members: free, copy, __call__
......@@ -586,7 +586,8 @@ class Function(object):
Returns
-------
Copied theano.Function
theano.Function
Copied theano.Function
"""
# helper function
def checkSV(sv_ori, sv_rpl):
......@@ -763,15 +764,17 @@ class Function(object):
outputs.
kwargs : dict
TODO: other kwargs?
Keyword argument `output_subset` is a list of either indices of the
The function inputs can be passed as keyword argument. For this, use
the name of the input or the input instance as the key.
Keyword argument ``output_subset`` is a list of either indices of the
function's outputs or the keys belonging to the `output_keys` dict
and represent outputs that are requested to be calculated.
Returns
-------
List of outputs on indices/keys from `output_subset` or all of them, if
`outputs_subset` is not passed.
list
List of outputs on indices/keys from ``output_subset`` or all of them,
if ``output_subset`` is not passed.
"""
profile = self.profile
t0 = time.time()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论