Home / Class/ func Class — pytorch Architecture

func Class — pytorch Architecture

Architecture documentation for the func class in BoxedKernel_impl.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/boxing/BoxedKernel_impl.h lines 12–21

template <BoxedKernel::BoxedKernelFunction* func>
inline void BoxedKernel::make_boxed_function(
    OperatorKernel* /*unused*/,
    const OperatorHandle& opHandle,
    DispatchKeySet /*unused*/,
    Stack* stack) {
  // Note that we're dropping the DispatchKeySet argument.
  // See Note [Plumbing Keys Through The Dispatcher 2] for details.
  func(opHandle, stack);
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free