Rate this Page

Define TORCH_CHECK_MSG#

Define Documentation#

TORCH_CHECK_MSG(cond, type, ...)   (::c10::detail::torchCheckMsgImpl

(                       \

"Expected " #cond                                    \

" to be true, but got false.  "                      \

"(Could this error message be improved?  If so, "    \

"please report an enhancement request to PyTorch.)", \

##__VA_ARGS__))

#