提交 0884f7d3 authored 作者: Frederic's avatar Frederic

[DOC] Update doc of Type.may_share_memory.

上级 6ed25a61
......@@ -140,10 +140,12 @@ default values.
.. method:: may_share_memory(a, b)
Optional. Only needed for DebugMode. Return True if the python
Optional to run, but mandatory for DebugMode. Return True if the python
objects `a` and `b` could share memory. Return False
otherwise. It is used to debug when Ops didn't declare memory
aliaing between variables. Must be a static method.
aliaing between variables. Can be a static method.
It is highly recommande to use and is mandatory for Type in Theano
as our buildbot run in DebugMode.
For each method, the *default* is what ``Type`` defines
for you. So, if you create an instance of ``Type`` or an
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论