Hello @raghuramank100, thanks for your reply!
I think you can now access the gist. In fact, I call the fuse_model() function of the QuantizableRMAC class (in the gist), which in turn calls the ResNet fuse_model() function, in the same way you wrote the original code here. I just missed this part of the code when transitioning to here. I am going to fix this in the first post to match the way it is done.
However, when I inspect the model by printing its modules names after calling the fuse_model() function, I see that I successfully fused all conv, bn and relus, that’s why I am not sure about what is happening.