提交 1c9cb0a1 authored 作者: Nouiz's avatar Nouiz

typo.

上级 0420f0ba
...@@ -599,7 +599,7 @@ __global__ void k_copy_reshape_rowmajor(unsigned int numEls, ...@@ -599,7 +599,7 @@ __global__ void k_copy_reshape_rowmajor(unsigned int numEls,
// Reshape self to the new shape gived by the tuple shape. // Reshape self to the new shape gived by the tuple shape.
// //
// If self is c contiguous, it return a view. Otherwise it always do a copy. // If self is c contiguous, it return a view. Otherwise it always do a copy.
// TODO: make it return a view when the strides allow it event if it is not // TODO: make it return a view when the strides allow it even if it is not
// c contiguous // c contiguous
PyObject * CudaNdarray_Reshape(CudaNdarray * self, PyObject * shape) PyObject * CudaNdarray_Reshape(CudaNdarray * self, PyObject * shape)
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论