def tokens_to_word_vectors(reviews_tokens, w2v_model):
    X = []
    for review in reviews_tokens:
        wvs = []
        for token in review:
            if w2v_model in token:
                wvs.append(w2v_model[token])
            else:
                wvs.append(UNKNOWN_VECTOR)
        X.append(wvs)

    return X
dataset/ETHPy150Open alfredolainez/deep-nlp/lstm_class.py/tokens_to_word_vectors/swapped operands of `in`