Rate this Page

Template Function torch::dispatch(c10::DeviceType, Func&&)#

Function Documentation#

template<typename Func>
inline CppFunction torch::dispatch(c10::DeviceType type, Func &&raw_f)#

Convenience overload of dispatch() which accepts c10::DeviceType.