Home / Class/ convert_to_int_of_same_size Class — pytorch Architecture

convert_to_int_of_same_size Class — pytorch Architecture

Architecture documentation for the convert_to_int_of_same_size class in vec256_common_vsx.h from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/cpu/vec/vec256/vsx/vec256_common_vsx.h lines 78–82

template <>
Vectorized<int64_t> C10_ALWAYS_INLINE
convert_to_int_of_same_size<double>(const Vectorized<double>& src) {
  return Vectorized<int64_t>{vec_signed(src.vec0()), vec_signed(src.vec1())};
}

Analyze Your Own Codebase

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

Try Supermodel Free