def test_validate_gt_label_invalid_dimensions(self) -> None:
        """Test validation of ground truth labels with invalid dimensions."""
        with pytest.raises(ValueError, match="Ground truth label must be a 1-dimensional vector"):
            self.validator.validate_gt_label(torch.tensor([[0, 1], [1, 0]]))
Test validation of ground truth labels with invalid dimensions.
tests/unit/data/validators/torch/test_depth.py