Define TORCH_ENUM_PRETTY_PRINT#
Defined in File enum.h
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; \
}
#
Defined in File enum.h
std::string operator()(const enumtype::k##name& v [[maybe_unused]]) const { \
std::string k("k"); \
return k + #name; \
}
#