• notoraptor's avatar
    Rewrite the RoundHalfToEven implementation · cb35ac24
    notoraptor 提交于
    by hardcoding the rounding instead of relying
    on NumPy functions, so that this op should work
    on CPU and on GPU.
    
    Tests (CPU and GPU) passed on my computer, let's
    see if jenkins/travis are ok with that.
    cb35ac24
basic.py 131.6 KB