QConvInt8 Class — pytorch Architecture
Architecture documentation for the QConvInt8 class in qconv.cpp from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/quantized/cpu/qconv.cpp lines 2112–2125
class QConvInt8 final {
public:
static Tensor run(
Tensor act,
const c10::intrusive_ptr<ConvPackedParamsBase<kSpatialDim>>& packed_weight,
double output_scale,
int64_t output_zero_point) {
if (kReluFused) {
return packed_weight->apply_relu(act, output_scale, output_zero_point);
} else {
return packed_weight->apply(act, output_scale, output_zero_point);
}
}
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free