boxArgs Class — pytorch Architecture
Architecture documentation for the boxArgs class in boxing.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/boxing/impl/boxing.h lines 82–89
template <class... Args>
torch::jit::Stack boxArgs(Args... args) {
// TODO Reuse stack vector instead of allocating?
torch::jit::Stack stack;
stack.reserve(sizeof...(Args));
torch::jit::push(stack, std::forward<Args>(args)...);
return stack;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free