def create_random_images_for_cameras(cameras: PinholeCamera) -> list[Tensor]:
    """Creates random images for a given set of cameras."""
    torch.manual_seed(112)
    imgs: list[Tensor] = []
    for height, width in zip(cameras.height.tolist(), cameras.width.tolist()):
        image_data = torch.randint(0, 255, (3, int(height), int(width)), dtype=torch.uint8)  # (C, H, W)
        imgs.append(image_data)  # (C, H, W)
    return imgs
Creates random images for a given set of cameras.
tests/nerf/test_data_utils.py