PrePackConvWeights Class — pytorch Architecture
Architecture documentation for the PrePackConvWeights class in qnnpack_func.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/quantized/cpu/qnnpack/include/qnnpack_func.h lines 7–39
class PrePackConvWeights final {
public:
PrePackConvWeights(
const pytorch_qnnp_operator_t convolution,
const uint8_t* kernel_zero_points,
const uint8_t* kernel,
const int32_t* bias);
void* getPackedWeights() const
{
return packed_weights_;
}
int64_t getOutputChannels() const
{
return output_channels_;
}
~PrePackConvWeights()
{
if (packed_weights_ != nullptr) {
free(packed_weights_);
}
}
PrePackConvWeights() = delete;
PrePackConvWeights(const PrePackConvWeights&) = delete;
PrePackConvWeights& operator=(const PrePackConvWeights&) = delete;
private:
void* packed_weights_ = nullptr;
int64_t output_channels_;
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free