import torch


def repeat_row(row: torch.Tensor, times: int) -> torch.Tensor:
    """
    Repeats the given row the given number of times.
    :param row: the row to repeat. Size [W].
    :param times: the number of repetitions = H.
    :return: the given row repeated the given number of times. Size [H, W].
    """
    return row.unsqueeze(0).repeat(times, 1)