kernel_func Class — pytorch Architecture
Architecture documentation for the kernel_func class in op_registration.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/op_registration/op_registration.h lines 71–74
template<KernelFunction::BoxedKernelFunction* kernel_func>
Options&& kernel(DispatchKey dispatch_key) && {
return std::move(*this).kernel(dispatch_key, KernelFunction::makeFromBoxedFunction<kernel_func>(), std::nullopt, nullptr);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free