提交 a68ec1de authored 作者: nouiz's avatar nouiz

Merge pull request #918 from goodfeli/fix_error

fixed an error message
...@@ -919,7 +919,7 @@ nd_collapse_[i]=0; ...@@ -919,7 +919,7 @@ nd_collapse_[i]=0;
//std::cerr << "C_CODE %(opname)s checking input %(iname)s failed\\n"; //std::cerr << "C_CODE %(opname)s checking input %(iname)s failed\\n";
PyErr_Format(PyExc_ValueError, PyErr_Format(PyExc_ValueError,
"GpuElemwise. Input dimension mis-match. Input" "GpuElemwise. Input dimension mis-match. Input"
" %(id)d (index start at 0 has shape[%%i] == %%i" " %(id)d (indices start at 0) has shape[%%i] == %%i"
", but the output's size on that axis is %%i.", ", but the output's size on that axis is %%i.",
i, i,
CudaNdarray_HOST_DIMS(%(iname)s)[i], CudaNdarray_HOST_DIMS(%(iname)s)[i],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论