Home / Class/ callOpByName Class — pytorch Architecture

callOpByName Class — pytorch Architecture

Architecture documentation for the callOpByName class in vulkan_api_test.cpp from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/test/vulkan_api_test.cpp lines 247–256

template <class... Args>
inline std::vector<c10::IValue> callOpByName(
    const char* func_name,
    const char* overload_name,
    Args... args) {
  const std::optional<c10::OperatorHandle> op_handle =
      c10::Dispatcher::singleton().findSchema({func_name, overload_name});
  assert(op_handle.has_value());
  return callOpByHandle(op_handle.value(), std::forward<Args>(args)...);
}

Analyze Your Own Codebase

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

Try Supermodel Free