(self)
return np.vstack([doc.vector for doc in self])
Constituent docs' word vectors stacked in a 2d array.
Constituent docs' word vectors stacked in a 2d array.
Constituent docs word vectors stacked in a 2d array .
def vectors(self) -> np.ndarray:
        """Constituent docs' word vectors stacked in a 2d array."""
        return np.vstack([doc.vector for doc in self])
def vectors ( self ) -> np . ndarray : return np . vstack ( [ doc . vector for doc in self ] )