def test_untile_different_instance(input_shape: torch.Size, config: dict) -> None:
        """Test untiling with different Tiler instance."""
        config = copy.deepcopy(config)
        config["tiling"]["image_size"] = input_shape[-1]
        tiler_1 = get_ensemble_tiler(config["tiling"])

        tiler_2 = get_ensemble_tiler(config["tiling"])

        images = torch.rand(size=input_shape)
        tiled = tiler_1.tile(images.clone())

        untiled = tiler_2.untile(tiled)

        # untiling should work even with different instance of tiler
        assert images.shape == untiled.shape
        assert images.equal(untiled)
Test untiling with different Tiler instance.
tests/unit/pipelines/tiled_ensemble/test_tiler.py