What did you exactly mean by this sentence above ?

It computes the gradient of the loss wrt of the input of the convolution using the gradient of the loss wrt the output.

Could you pinpoint the exact line of code ?

It’s not just one line, it is the whole function.

Besides, what is the purpose of following lines of code  1 ?

Not sure, it computes the output sizes of the unpooling right?