gensim.models.Doc2Vec.init_sims¶
-
Doc2Vec.
init_sims
(replace=False)¶ Precompute L2-normalized vectors.
If replace is set, forget the original vectors and only keep the normalized ones = saves lots of memory!
Note that you cannot continue training after doing a replace. The model becomes effectively read-only = you can call most_similar, similarity etc., but not train.