提交 747b351c authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Update docstring to precise what is considered an input for the

callback of StackVM.
上级 52d0ccb5
...@@ -684,8 +684,9 @@ class VM_Linker(link.LocalLinker): ...@@ -684,8 +684,9 @@ class VM_Linker(link.LocalLinker):
'node', 'thunk', 'storage_map', and 'compute_map'. 'node', 'thunk', 'storage_map', and 'compute_map'.
callback_input callback_input
A callable object to call on each input to the graph A callable object to call on each input to the graph
(variables with no owner). It will be called with two (variables with no owner). This includes constants and shared
arguments: 'var', 'value'. variables values. It will be called with two arguments:
'var', 'value'.
lazy lazy
Useful only when use_cloop is False. When lazy is None, use the Useful only when use_cloop is False. When lazy is None, use the
theano flag vm.lazy value. Then if we have a None (default) we auto theano flag vm.lazy value. Then if we have a None (default) we auto
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论