提交 56905f82 编写于 作者: 李滨

Merge branch 'mnmt' into 'master'

Fix comparison between signed and unsigned integer expressions

See merge request !589
......@@ -71,7 +71,7 @@ struct StridedSliceFunctor {
if (is_slice_) {
// if this op is slice, the end_indices_data is size actually
slice_end_data.resize(end_indices->size());
for (int i = 0; i < slice_end_data.size(); ++i) {
for (size_t i = 0; i < slice_end_data.size(); ++i) {
if (end_indices_data[i] == -1) {
slice_end_data[i] = input->dim(i);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册