ONE - On-device Neural Engine
|
Exception to user. More...
#include <UserExn.h>
Public Member Functions | |
UserExn ()=delete | |
template<typename... Info> | |
UserExn (const std::string &msg, Info &&...args) | |
const char * | what () const noexcept override |
Exception to user.
Pass msg and one additional info, e.g., ex) UserExn("Unsupported rank", 4); ex) UserExn("Unsupported layout", "NHWC");
Or pass msg with attribute pairs of name & val , ex) UserExn("Node has unsupported layout", "Node", node->name(), "layout", node->layout());
|
delete |
|
inline |
|
inlineoverridenoexcept |