def _try_concat(o):
    try:
        return torch.cat(o)
    except:
        return sum([L((o_[i, :] for i in range_of(o_))) for o_ in o], L())
def _try_concat(o):
    try:
        return torch.cat(o)
    except:
        return sum([L((o_[i, :] for i in range_of(o_))) for o_ in o], L())