Rate this Page

Define _STABLE_TORCH_LIBRARY_FRAGMENT#

Define Documentation#

_STABLE_TORCH_LIBRARY_FRAGMENT(ns, m, uid)

static void C10_CONCATENATE(                                                \

STABLE_TORCH_LIBRARY_FRAGMENT_init_##ns##_,                             \

uid)(

torch::stable::detail::StableLibrary

&);                            \

static const

torch::stable::detail::StableTorchLibraryInit

C10_CONCATENATE( \

STABLE_TORCH_LIBRARY_FRAGMENT_static_init_##ns##_, uid)(                \

torch::stable::detail::StableLibrary::Kind::FRAGMENT

,                   \

&C10_CONCATENATE(STABLE_TORCH_LIBRARY_FRAGMENT_init_##ns##_, uid),      \

C10_STRINGIZE(ns),                                                      \

nullptr,                                                                \

__FILE__,                                                               \

__LINE__);                                                              \

void C10_CONCATENATE(STABLE_TORCH_LIBRARY_FRAGMENT_init_##ns##_, uid)(      \

torch::stable::detail::StableLibrary & m)#