1${ns_prologue} 2 3// NB: TORCH_LIBRARY_IMPL must be in an anonymous namespace to avoid 4// ambiguity with conflicting identifiers that may have been defined in 5// at namespace already. 6namespace { 7 8${dispatch_helpers} 9 10${dispatch_anonymous_definitions} 11 12${static_init_dispatch_registrations} 13 14} // anonymous namespace 15 16${deferred_dispatch_registrations} 17 18namespace ${dispatch_namespace} { 19 20${dispatch_namespaced_definitions} 21 22} // namespace ${dispatch_namespace} 23 24${ns_epilogue} 25