Imported from https://github.com/maxstrobel/HCN-PrototypeLoss-PyTorch