Use `bool` for PADDLE_ENFORCE, not int
* If stat is an integer, bool value will implicit cast to int before pass to PADDLE_ENFORCE
Showing
想要评论请 注册 或 登录
* If stat is an integer, bool value will implicit cast to int before pass to PADDLE_ENFORCE