flip Class — pytorch Architecture
Architecture documentation for the flip class in vec512.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec512/vec512.h lines 248–253
template <>
inline Vectorized<float> flip(const Vectorized<float>& v) {
const __m512i mask =
_mm512_set_epi32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
return _mm512_permutexvar_ps(mask, v);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free