Fix error in Pad op convert (#3778)
* Fix bug in pad converter, value only needed in constant mode. Signed-off-by: NYu Liu <yu.liu@enflame-tech.com> * Fix bug in pad converter, value only needed in constant mode or default (constant). Signed-off-by: NYu Liu <yu.liu@enflame-tech.com> * Fix bug in pad converter. input_rank maybe 0 and will set wrong t_pads.sizes(). Signed-off-by: NYu Liu <yu.liu@enflame-tech.com> * Fix bug in pad converter. input_rank maybe 0 and will set wrong t_pads.sizes(). Signed-off-by: NYu Liu <yu.liu@enflame-tech.com> Co-authored-by: NYu Liu <yu.liu@enflame-tech.com> Co-authored-by: NG. Ramalingam <grama@microsoft.com>
Showing
想要评论请 注册 或 登录