Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define REGISTER_COREML_CONVERTER(classname, machines, function) \
- static bool register_converter##classname = []() { \
- for (auto m = machines.cbegin(); m != machines.cend(); ++m) {\
- kConverters.emplace(std::make_pair(*m, function)); \
- } \
- return true; \
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement