Commit 3e2a530f authored by carlushuang's avatar carlushuang
Browse files

fix a bug in dilation

parent 2d064933
...@@ -273,13 +273,14 @@ static inline int str2desc(desc_t* desc, const char* str, bool is_deconv = false ...@@ -273,13 +273,14 @@ static inline int str2desc(desc_t* desc, const char* str, bool is_deconv = false
return XDNN_FAIL; return XDNN_FAIL;
d.init_pad_r(is_deconv); d.init_pad_r(is_deconv);
*desc = d;
// TODO: this is difference CK~OneDNN // TODO: this is difference CK~OneDNN
d.dh++; d.dh++;
d.dw++; d.dw++;
d.dd++; d.dd++;
*desc = d;
return XDNN_OK; return XDNN_OK;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment