convert_int8_to_float Class — pytorch Architecture
Architecture documentation for the convert_int8_to_float class in vec256_zarch.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/zarch/vec256_zarch.h lines 2941–2951
template <typename T>
std::enable_if_t<
std::is_same_v<T, uint8_t>,
at::vec::Vectorized<
float>> inline convert_int8_to_float(const Vectorized<T>& src) {
// Note: this function only convert inputs number of elements equal to
// at::vec::Vectorized<float>.size() Only handle first 64 bits
auto vec_int = src.to_vec_float_helper();
return zvec_convert_to_float(vec_int);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free