def METHOD_NAME(self):
    device = "cpu"
    components = self.get_dummy_components()
    pipe = self.pipeline_class(**components)
    pipe = pipe.to(device)
    pipe.set_progress_bar_config(disable=None)
    output = pipe(**self.get_dummy_inputs(device))
    image = output.images
    image_from_tuple = pipe(**self.get_dummy_inputs(device), return_dict=False)[0]
    image_slice = image[0, -3:, -3:, -1]
    image_from_tuple_slice = image_from_tuple[-3:, -3:, -1]
    assert image.shape == (1, 128, 128, 3)
    expected_slice = np.array([0.7616304, 0.0, 1.0, 0.0, 1.0, 0.0, 0.05925313, 0.0, 0.951898])
    assert (
        np.abs(image_slice.flatten() - expected_slice).max() < 1e-2
    ), f" expected_slice {expected_slice}, but got {image_slice.flatten()}"
    assert (
        np.abs(image_from_tuple_slice.flatten() - expected_slice).max() < 1e-2
    ), f" expected_slice {expected_slice}, but got {image_from_tuple_slice.flatten()}"