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