QLinearPackWeightInt8Legacy Class — pytorch Architecture
Architecture documentation for the QLinearPackWeightInt8Legacy class in qlinear_prepack.cpp from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp lines 655–666
class QLinearPackWeightInt8Legacy final {
public:
static Tensor run(
// NOLINTNEXTLINE(performance-unnecessary-value-param)
[[maybe_unused]] at::Tensor weight,
// NOLINTNEXTLINE(performance-unnecessary-value-param)
[[maybe_unused]] std::optional<Tensor> bias) {
TORCH_CHECK(false,
"This model uses an outdated version of quantized.linear_prepack. "
"Please re-export your model using the newer definitions in torch.jit.quantized");
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free