Could you provide a code snippet that causes the RuntimeError to happen?
Yes, it’s possible to reuse the Conv backwards code from python with something like the following:
f = torch._C._functions.ConvNdBackward
f(...)