I want to calculate the kl divergence for two probability distributions. but one is a tensor of size (64, 936, 32, 32) and the other is (64, 939, 32, 32). as you can see the difference is small. how can I make them the same size without ruining the data and kl divergence value.
I tried adding 0s but it doesn’t work.