pack Class — pytorch Architecture
Architecture documentation for the pack class in vec256_zarch.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/zarch/vec256_zarch.h lines 1730–1735
template <typename T, typename V = typename pack_type<T>::type>
Vectorized<V> pack(const Vectorized<T>& first, const Vectorized<T>& second) {
auto vec0 = vec_packs(first.vec0(), first.vec1());
auto vec1 = vec_packs(second.vec0(), second.vec1());
return Vectorized<V>{vec0, vec1};
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free