remaining Class — pytorch Architecture
Architecture documentation for the remaining class in stack.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/core/stack.h lines 181–191
template <std::size_t remaining, typename... Args>
struct TuplePacker {
// NB: *Not* a universal reference.
static void execute(Stack& stack, std::tuple<Args...>&& t) {
// NB: The move here does not "destroy" the entire tuple, that is
// not what std::move does; only the particular tuple index
// processed here gets stolen.
pack(stack, std::get<sizeof...(Args) - remaining>(std::move(t)));
TuplePacker<remaining - 1, Args...>::execute(stack, std::move(t));
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free