def test_validate_gt_label_valid(self) -> None:
        """Test validation of a valid ground truth label."""
        label = torch.tensor(1)
        validated_label = self.validator.validate_gt_label(label)
        assert isinstance(validated_label, torch.Tensor)
        assert validated_label.dtype == torch.bool
        assert validated_label.item() is True
Test validation of a valid ground truth label.
tests/unit/data/validators/torch/test_video.py