mapSleef Class — pytorch Architecture
Architecture documentation for the mapSleef class in vec256_zarch.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/zarch/vec256_zarch.h lines 952–961
template <
typename FloatOp,
typename DoubleOp,
typename U = T,
std::enable_if_t<std::is_same_v<U, float>, int> = 0>
inline Vectorized<T> mapSleef(FloatOp f, DoubleOp d) const {
vtype a0 = f(_vec0);
vtype a1 = f(_vec1);
return Vectorized<T>{a0, a1};
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free