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

partial function evaluation documentation

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