提交 bf4db351 authored 作者: notoraptor's avatar notoraptor

Make `c_set_groups_for_conv()` return 0 on success.

上级 6384da8a
...@@ -10,7 +10,7 @@ static int c_set_groups_for_conv(cudnnConvolutionDescriptor_t desc, int groups) ...@@ -10,7 +10,7 @@ static int c_set_groups_for_conv(cudnnConvolutionDescriptor_t desc, int groups)
return -1; return -1;
} }
#endif #endif
return 1; return 0;
} }
int APPLY_SPECIFIC(conv_desc)(PyArrayObject *filt_shp, int APPLY_SPECIFIC(conv_desc)(PyArrayObject *filt_shp,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论