提交 49230a8d authored 作者: carriepl's avatar carriepl

Update doc format in FunctionGraph

上级 b7d5a836
...@@ -115,12 +115,18 @@ class FunctionGraph(utils.object2): ...@@ -115,12 +115,18 @@ class FunctionGraph(utils.object2):
Create an FunctionGraph which operates on the subgraph bound by the Create an FunctionGraph which operates on the subgraph bound by the
inputs and outputs sets. inputs and outputs sets.
:param inputs: inputs nodes of the graph, usually declared by the user Parameters
:param outputs: outputs nodes of the graph. ----------
:param clone: If true, we will clone the graph. This is inputs : list of variables
useful to remove the constant cache problem. Inputs nodes of the graph, usually declared by the user
:param update_mapping: dictionnary describing the mapping between outputs : list of variables
the inputs with updates and the outputs corresponding to their updates Outputs nodes of the graph.
clone : boolean
If true, we will clone the graph. This is useful to remove the
constant cache problem.
update_mapping : dictionnary
Mapping between the inputs with updates and the outputs
corresponding to their updates.
""" """
if clone: if clone:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论