mask Class — pytorch Architecture
Architecture documentation for the mask class in vec_n.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec_n.h lines 123–133
template <int64_t mask>
static VectorizedN<T, N> blend(
const VectorizedN<T, N>& a,
const VectorizedN<T, N>& b) {
VectorizedN<T, N> result;
for (int i = 0; i < N; ++i) {
result.values[i] =
Vectorized<T>::template blend<mask>(a.values[i], b.values[i]);
}
return result;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free