src Class — pytorch Architecture
Architecture documentation for the src class in vec256_convert.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/vec256_convert.h lines 13–23
template <>
struct VecConvert<float, 1, BFloat16, 1> {
static inline VectorizedN<float, 1> apply(
const VectorizedN<BFloat16, 1>& src) {
VectorizedN<float, 1> result;
__m256 value;
cvtbf16_fp32(_mm256_castsi256_si128(src[0]), value);
result[0] = value;
return result;
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free