Home / Class/ is_lerp_weight_small Class — pytorch Architecture

is_lerp_weight_small Class — pytorch Architecture

Architecture documentation for the is_lerp_weight_small class in LerpKernel.cpp from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/cpu/LerpKernel.cpp lines 13–17

template <typename scalar_t>
Vectorized<scalar_t> is_lerp_weight_small(Vectorized<scalar_t> weight) {
  static_assert(!c10::is_complex<scalar_t>::value, "");
  return weight.abs() < Vectorized<scalar_t>(0.5);
}

Analyze Your Own Codebase

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

Try Supermodel Free