import torch


def add_channels(imgs: torch.Tensor, num_channels: int=3) -> torch.Tensor:
    """
    Converts an Input image with one channel to a multi-channel input image.

    Parameters
    ----------
    imgs: Input images, for which the channels should be repeated.
    num_channels: Target number of channels.

    Returns
    -------
    imgs: Images, for which the channels are repeated.
    """

    imgs = imgs.repeat(1, num_channels, 1, 1)
    return imgs