quantize_tensor Class — pytorch Architecture
Architecture documentation for the quantize_tensor class in AffineQuantizer.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/quantized/AffineQuantizer.h lines 115–120
template <typename T>
TORCH_API Tensor quantize_tensor(
Tensor rtensor,
Tensor qtensor,
double scale,
int64_t zero_point);
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free