Fix std::abs usage in memory_optimize_pass.cc (#15627)
test=develop size_t is an unsigned integer, with a conversion rank larger than int, therefore in the following expression the int value was promoted to size_t, making it a subtraction of unsigned values. The result of such a subtraction is also an unsigned value.
Showing
想要评论请 注册 或 登录