def METHOD_NAME(self, inputs: Sequence[torch.FloatTensor]) -> torch.FloatTensor:  # noqa: D102
    assert len(inputs) == 2
    return functional.cosine_similarity(*inputs).pow(2).subtract(self.instance_kwargs["epsilon"]).relu().sum()