Home / Class/ is_reduced_floating_point_v Class — pytorch Architecture

is_reduced_floating_point_v Class — pytorch Architecture

Architecture documentation for the is_reduced_floating_point_v class in functional_base.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cpu/vec/functional_base.h lines 14–19

template <typename T>
struct should_prefer_converting_through_float
    : std::bool_constant<
          is_reduced_floating_point_v<T> &&
          vec::is_vec_specialized_for_v<float> &&
          !vec::is_vec_specialized_for_v<T>> {};

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free