Home / Class/ upper_bound Class — pytorch Architecture

upper_bound Class — pytorch Architecture

Architecture documentation for the upper_bound class in ReduceOpsUtils.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/ReduceOpsUtils.h lines 22–26

template <typename scalar_t>
constexpr scalar_t upper_bound() {
  using lim = std::numeric_limits<scalar_t>;
  return lim::has_infinity ? lim::infinity() : lim::max();
}

Analyze Your Own Codebase

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

Try Supermodel Free