Home / Class/ boxed_size_one Class — pytorch Architecture

boxed_size_one Class — pytorch Architecture

Architecture documentation for the boxed_size_one class in boxing.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/core/boxing/impl/boxing.h lines 91–97

template <class T>
inline constexpr size_t boxed_size_one() {
  static_assert(
      !std::is_same_v<std::decay_t<T>, c10::TensorOptions>,
      "need to patch this path to support TensorOptions passed by reference");
  return 1;
}

Analyze Your Own Codebase

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

Try Supermodel Free