keras.preprocessing.text.Tokenizer keras文章/教程 白墨 • 2023年3月13日 • 0 Comment 说明:num_words的参数设置,对应着sequences_to_matrix方法返回的arrray的shape[1],用于约束返回数组的第2个维度。对texts_to_sequences(texts)等不起作用