clamp_min Class — pytorch Architecture
Architecture documentation for the clamp_min class in vec256_zarch.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec256/zarch/vec256_zarch.h lines 1157–1163
template <
typename U = T,
std::enable_if_t<std::is_floating_point_v<U>, int> = 0>
Vectorized<T> clamp_min(const Vectorized<T>& min) const {
Vectorized<T> tmp = {vec_max(_vec0, min._vec0), vec_max(_vec1, min._vec1)};
return blendv(tmp, *this, isnan());
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free