I made 2 models with only convolutional layer to extract the feature maps of the images for siamese networks. I wanted to ask if there is a loss function or a way to calculate the loss between two feature maps of two different shapes for eg: [25,32,67,67] and [25,32,30,30].