I found that Tensorflow has the Status 3 class , which is very useful for debugging and the return value is human-readable.
Do Pytorch has the similar class? For example, I could return Status::OK() instead of return 0 for indicating a successful executing.