Rate this Page

Define TORCH_ENUM_PRETTY_PRINT#

Define Documentation#

TORCH_ENUM_PRETTY_PRINT(name)

std::string operator()(const enumtype::k##name& v [[maybe_unused]]) const { \

std::string k("k");                                                       \

return k + #name;                                                         \

}

#