XNOR-popcount-GEMM-PyTorch-CPU-CUDA icon indicating copy to clipboard operation
XNOR-popcount-GEMM-PyTorch-CPU-CUDA copied to clipboard

quantized_weight is not defined

Open trdai opened this issue 3 weeks ago • 0 comments

Hi, after i uncommented self.fc2 = bi.BinarizeLinear_inference(24,512) and run main.py I got this issue AttributeError: 'BinarizeLinear_inference' object has no attribute 'quantized_weight' at out = xnor_linear(input, self.quantized_weight, self.bias) in binarized_modules.py I searched your source code and didn't see anywhere that defined it. Is this a bug? Thanks all

trdai avatar Nov 19 '25 12:11 trdai