import torch


def true_negative(prediction: torch.Tensor, label: torch.Tensor) -> float:
    """
    Return sum of all true negative pixel.

    :param prediction: Predicted tensor.
    :param label: Label tensor.
    :return: True negative count.
    """
    return torch.sum(~prediction & ~label).item()