is_floating_point_v Class — pytorch Architecture
Architecture documentation for the is_floating_point_v class in vec_base.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/cpu/vec/vec_base.h lines 97–102
template <typename T>
struct is_floating_point
: std::integral_constant<
bool,
std::is_floating_point_v<T> || std::is_same_v<T, at::Half> ||
std::is_same_v<T, at::BFloat16>> {};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free