“67b7d0b466d52f0fdfdec9c3edb4244d13ab9a77”上不存在“tools/python/micro/jinja2_files/micro_graph_data.h.jinja2”
提交 56905f82 编写于 作者: 李滨

Merge branch 'mnmt' into 'master'

Fix comparison between signed and unsigned integer expressions

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