提交 7ed0e56d authored 作者: Frederic Bastien's avatar Frederic Bastien

clarified comment.

上级 8867db3c
...@@ -118,7 +118,7 @@ class CudaNdarraySharedVariable(SharedVariable, _operators): ...@@ -118,7 +118,7 @@ class CudaNdarraySharedVariable(SharedVariable, _operators):
It is also worth mentioning that, for efficient transfer to the GPU, Theano will make the new data It is also worth mentioning that, for efficient transfer to the GPU, Theano will make the new data
``c_contiguous``. This can require an extra copy of the data on the host. ``c_contiguous``. This can require an extra copy of the data on the host.
This work what when borrow=True and when borrow=False The inplace on gpu memory work when borrow is either True or False.
""" """
if not borrow: if not borrow:
#TODO: check for cuda_ndarray type #TODO: check for cuda_ndarray type
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论