Get backward of F.interpolate

Hello,

for my model I would need a custom layer which integrate the backward of the bilinear upsampler. Would it be possible to get it or to implement it easily ?

Thanks for your help