is_same_v Class — pytorch Architecture
Architecture documentation for the is_same_v class in ReduceUtils.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/cpu/ReduceUtils.h lines 107–111
template <typename scalar_t>
inline std::enable_if_t<!std::is_same_v<scalar_t, Vec2>, scalar_t>
_max(const scalar_t& x, const scalar_t& y) {
return at::_isnan(y) ? y : std::max(x, y);
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free