Hallo,
I have two images and i want to calculate the gradient for each pixel in one image according to each pixel in another image , so i want to calculate the jacobian matrix by Pytorch,  can you give me plese any function or code to help me.
Thanks