22 constexpr
size_t array_size{2};
23 constexpr
char const* strings[array_size]{
"CPU",
"GPU"};
24 auto index =
static_cast<size_t>(device_type);
26 return os << strings[index];
std::ostream & operator<<(std::ostream &os, const SessionInfo &session_info)
std::string toString(const Executor::ExtModuleKinds &kind)