Home / Class/ checkZeroPoints Class — pytorch Architecture

checkZeroPoints Class — pytorch Architecture

Architecture documentation for the checkZeroPoints class in AffineQuantizer.cpp from the pytorch codebase.

Entity Profile

Source Code

aten/src/ATen/native/quantized/AffineQuantizer.cpp lines 74–80

template <typename T>
void checkZeroPoints(const char* fn_name, const Tensor& zero_points) {
  auto zero_points_data = zero_points.data_ptr<int64_t>();
  for (const auto i : c10::irange(zero_points.numel())) {
    checkZeroPoint<T>(fn_name, zero_points_data[i]);
  }
}

Analyze Your Own Codebase

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

Try Supermodel Free