• G
    Fix std::abs usage in memory_optimize_pass.cc (#15627) · 2bf63f4c
    Gabor Buella 提交于
    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.
    2bf63f4c
memory_optimize_pass.cc 25.3 KB