提交 ce0002f8 authored 作者: Frederic Bastien's avatar Frederic Bastien

Added more information in the documentation about output_storage.

上级 36e416f2
...@@ -76,7 +76,9 @@ following methods: ...@@ -76,7 +76,9 @@ following methods:
evaluations, or it may reset ``output_storage`` cells to hold a value of evaluations, or it may reset ``output_storage`` cells to hold a value of
``None``. It can also pre-allocate some memory for the Op to use. ``None``. It can also pre-allocate some memory for the Op to use.
This feature can allow ``perform`` to reuse memory between This feature can allow ``perform`` to reuse memory between
calls, for example. calls, for example. If there is something preallocated in the
``output_storage``, it will be of the good dtype, but can have
the wrong shape and have any stride pattern.
This method must be determined by the inputs. That is to say, if This method must be determined by the inputs. That is to say, if
it is evaluated once on inputs A and returned B, then if ever it is evaluated once on inputs A and returned B, then if ever
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论