• Y
    Improve the tool for checking nan and inf, and support to compute the max, min... · ad39043f
    Yiqun Liu 提交于
    Improve the tool for checking nan and inf, and support to compute the max, min and mean of output tensor. (#47095)
    
    * Improve the tool for checking nan and inf, and support to compute the max, min and mean of output tensor.
    
    * Add a FLAGS to control whether abort when meets inf/nan and polish codes.
    
    * Fix unittest.
    
    * Change the computing of mean.
    ad39043f
test_nan_inf.py 2.4 KB