def METHOD_NAME(self, x, lens=None):
    """Returns the x-vectors.
    Arguments
    ---------
    x : torch.Tensor
    """
    for layer in self.blocks:
        try:
            x = layer(x, lengths=lens)
        except TypeError:
            x = layer(x)
    return x