def test_basic_tile_reconstruction(input_shape: torch.Size, config: dict) -> None:
        """Test basic reconstruction of tiled data."""
        config = copy.deepcopy(config)
        config["tiling"]["image_size"] = input_shape[-1]

        tiler = get_ensemble_tiler(config["tiling"])

        images = torch.rand(size=input_shape)
        tiled = tiler.tile(images.clone())
        untiled = tiler.untile(tiled)

        assert images.shape == untiled.shape
        assert images.equal(untiled)
Test basic reconstruction of tiled data.
tests/unit/pipelines/tiled_ensemble/test_tiler.py