import torch


def input_from_no_sensing(_, comm, i, sim=None):
    """
    Prepare the communication vector to be the input on the single net.

    :param comm: communication vector
    :param i: index of the thymio in the row
    :return in_put: parsed input containing the communication received
    """
    in_put = torch.cat((comm[i].view(1), comm[i + 2].view(1)), 0)

    return in_put