code: def init_weights(self):
      super(Doc2Vec, self).init_weights()
      # to not use an identical rnd stream as words, deterministically change seed (w/ 1000th prime)
      self.dv.resize_vectors(seed=self.seed + 7919)
  
imports: import logging
  import os
  from collections import namedtuple, defaultdict
  from collections.abc import Iterable
  from timeit import default_timer
  from dataclasses import dataclass
  from numpy import zeros, float32, vstack, integer, dtype
  import numpy
  from gensim import utils, matutils
  from gensim.utils import deprecated
  from gensim.models import Word2Vec, FAST_VERSION
  from gensim.models.keyedvectors import KeyedVectors, pseudorandom_weak_vector
label_desc: Use image node_id 7 for calling the Doc2Vec obj's underlying member method code with example usage: obj.init_weights() without return types