inferFunctionSchemaFromFunctor Class — pytorch Architecture
Architecture documentation for the inferFunctionSchemaFromFunctor class in op_registration.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/op_registration/op_registration.h lines 27–31
template<class KernelFunctor>
std::unique_ptr<FunctionSchema> inferFunctionSchemaFromFunctor() {
using func_type = typename c10::remove_DispatchKeySet_arg_from_func<KernelFunctor>::func_type;
return std::make_unique<FunctionSchema>(inferFunctionSchemaFlattenedReturns<func_type>());
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free