Template Function torch::dispatch(c10::DeviceType, Func&&)¶
Defined in File library.h
Function Documentation¶
-
template<typename Func>
inline CppFunction torch::dispatch(c10::DeviceType type, Func &&raw_f)¶ Convenience overload of dispatch() which accepts c10::DeviceType.