You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this issue has not been updated in the past month. we will close it today for the sake of other user’s experience. If you still need to follow up on this question after closing, please feel free to reopen it. In that case, we will get back to you within 24 hours. We apologize for the inconvenience caused by the closure and thank you so much for your support of PaddlePaddle Group!
The implementation contains three parts:
VisitPlace (35 lines)
Paddle/paddle/fluid/platform/place.h
Lines 97 to 132 in 037ce12
The CPU implementation of TensorContainsNaN (~100 lines)
Paddle/paddle/fluid/framework/tensor_util.cc
Lines 139 to 241 in 7b54f16
The CUDA implementation (~100 lines)
Paddle/paddle/fluid/framework/tensor_util.cu
Lines 19 to 117 in 8370fa8
There uses about 235 lines of C++ code to test if a tensor contains NaN or INF!
The text was updated successfully, but these errors were encountered: