relu6 Class — pytorch Architecture
Architecture documentation for the relu6 class in vec_test_all_types.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/test/vec_test_all_types.h lines 1548–1551
template<typename T>
T relu6(T val, T zero_point, T q_six) {
return std::min<T>(std::max<T>(val, zero_point), q_six);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free