Implement Contrastive Loss (Siamese) | TensorTonic