clamp Class — pytorch Architecture
Architecture documentation for the clamp class in vec128_half_neon.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec128/vec128_half_neon.h lines 496–502
template <>
Vectorized<c10::Half> inline clamp(
const Vectorized<c10::Half>& a,
const Vectorized<c10::Half>& min,
const Vectorized<c10::Half>& max) {
return minimum(max, maximum(min, a));
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free