提交 c551e1d6 编写于 作者: Z zp7 提交者: Jiaying Zhao

fix crash in some platform (#2159)

上级 528fd741
...@@ -27,7 +27,7 @@ Dim<i> make_dim(const int64_t *d) { ...@@ -27,7 +27,7 @@ Dim<i> make_dim(const int64_t *d) {
template <> template <>
Dim<0> make_dim<0>(const int64_t *d) { Dim<0> make_dim<0>(const int64_t *d) {
return Dim<0>(*d); return Dim<0>(0);
} }
void make_ddim(DDim &ddim, const int64_t *dims, int n) { void make_ddim(DDim &ddim, const int64_t *dims, int n) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册