提交 9972f174 编写于 作者: 李寅

Fix comparison between signed and unsigned integer expressions

上级 8cee5c3d
......@@ -72,7 +72,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.
先完成此消息的编辑!
想要评论请 注册