Thanks for your response. I had a quick look at the master branch for loss.py 2 but it has the same problem?
Instead of pass at line 220 should it not contain something like:
class HingeEmbeddingLoss(_Loss):
    # Creates a criterion ...
    def __init__(self, margin=1.0, size_average=True):
        super(HingeEmbeddingLoss, self).__init__()
        self.margin = margin
        self.size_average = size_average

    def forward(self, input1, target):
        return self._backend.HingeEmbeddingLoss(self.margin,
                                               self.size_average)(input1, target)