def errorConceal(interpPackets, pBuffer, receivedIndices, lostIndices, rowsPerPacket):
    """Performs packet loss concealment on the given data.

    # Arguments
        interpPackets: function object corresponding to a particular interpolation kind
        pBuffer: packets to be interpolated
        receivedIndices: packets that were retained
        lostIndices: packets that were lost
        rowsPerPacket: number of rows of the feature map to be considered as one packet

    # Returns
        Tensor whose loss has been concealed
    """
    print("Error Concealment")
    return interpPackets(pBuffer, receivedIndices, lostIndices, rowsPerPacket)