Home / Class/ fnmsub Class — pytorch Architecture

fnmsub Class — pytorch Architecture

Architecture documentation for the fnmsub class in vec128_half_neon.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cpu/vec/vec128/vec128_half_neon.h lines 608–618

template <>
Vectorized<c10::Half> inline fnmsub(
    const Vectorized<c10::Half>& a,
    const Vectorized<c10::Half>& b,
    const Vectorized<c10::Half>& c) {
#ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
  return Vectorized<c10::Half>(vnegq_f16(vfmaq_f16(c, a, b)));
#else
  return -a * b - c;
#endif
}

Analyze Your Own Codebase

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

Try Supermodel Free