Oh, as you said,
I looked into BinarizeConv2d and modified the function I implemented, and the problem was solved.
I thought I had to binarize all inputs and weights, but the first input doesn’t seem to apply.
This is a problem that could never have been solved without your help.
I don’t know what to say! Thank you very much!!