Home / Class/ clamp_max Class — pytorch Architecture

clamp_max Class — pytorch Architecture

Architecture documentation for the clamp_max class in vec512_int.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cpu/vec/vec512/vec512_int.h lines 1525–1530

template <>
Vectorized<int64_t> inline clamp_max(
    const Vectorized<int64_t>& a,
    const Vectorized<int64_t>& max_val) {
  return _mm512_min_epi64(max_val, a);
}

Analyze Your Own Codebase

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

Try Supermodel Free