提交 ec92210b authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed a pre-existing typo in a comment

上级 5b87b2ed
...@@ -654,7 +654,7 @@ class GpuCAReduce(GpuOp): ...@@ -654,7 +654,7 @@ class GpuCAReduce(GpuOp):
# #
if all(i == 1 for i in self.reduce_mask): if all(i == 1 for i in self.reduce_mask):
#check if the tensor is ccontiguous, if true, use the c_c0de_reduce_ccontig code. #check if the tensor is ccontiguous, if true, use the c_code_reduce_ccontig code.
#TODO: check if we are ccontiguous when we un-dimshuffle #TODO: check if we are ccontiguous when we un-dimshuffle
#TODO: if only some dims are ccontiguous, call version with less dims. #TODO: if only some dims are ccontiguous, call version with less dims.
print >> sio, 'if(CudaNdarray_is_c_contiguous(%(x)s)){'%locals() print >> sio, 'if(CudaNdarray_is_c_contiguous(%(x)s)){'%locals()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论