anchor.diff:      |  dimensions in the vector table.
   
   +aside-code("Example").
  -    vectors = Vectors(StringStore(), 300)
  +    vectors = Vectors(shape(1, 300))
       vectors.add(u'cat', numpy.random.uniform(-1, 1, (300,)))
       rows, dims = vectors.shape
       assert rows == 1
  
positive.code: 
      +row
          +cell #[code keys]
          +cell #[code numpy.ndarray]
          +cell
              |  Array keeping the keys in order, such that
              |  #[code keys[vectors.key2row[key]] == key]
  
negative.code: p
      |  Vectors data is kept in the #[code Vectors.data] attribute, which should
      |  be an instance of #[code numpy.ndarray] (for CPU vectors) or
      |  #[code cupy.ndarray] (for GPU vectors). Multiple keys can be mapped to
      |  the same vector, and not all of the rows in the table need to be
      |  assigned – so #[code vectors.n_keys] may be greater or smaller than
      |  #[code vectors.shape[0]].
  
  +h(2, "init") Vectors.__init__
      +tag method
  
  p
      |  Create a new vector store. You can set the vector values and keys
      |  directly on initialisation, or supply a #[code shape] keyword argument
      |  to create an empty table you can add vectors to later.
  
  +aside-code("Example").
      from spacy.vectors import Vectors
  
      empty_vectors = Vectors(shape=(10000, 300))
  
      data = numpy.zeros((3, 300), dtype='f')
      keys = [u'cat', u'dog', u'rat']
      vectors = Vectors(data=data, keys=keys)
  
  +table(["Name", "Type", "Description"])
      +row
          +cell #[code data]
          +cell #[code.u-break ndarray[ndim=1, dtype='float32']]
          +cell The vector data.
  
      +row
          +cell #[code keys]
          +cell iterable
          +cell A sequence of keys aligned with the data.
  
      +row
          +cell #[code shape]
          +cell tuple
          +cell
              |  Size of the table as #[code (n_entries, n_columns)], the number
              |  of entries and number of columns. Not required if you're
              |  initialising the object with #[code data] and #[code keys].
  
      +row("foot")
          +cell returns
  