class_docstr: Pool is a storage of vectors
class_docstr_tok: ["Pool","is","a","storage","of","vectors"]
docstr: Pool is a storage of vectors. You can create it from row-major binary file or
  binary data of vectors.
  
  Parameters
  ----------
  vectors_path : string
      Path to binary file with vectors.
  
  dtype : EVectorComponentType
      Type of vectors.
  
  dimension : int
      Dimension of vectors.
  
  vectors_bin_data : bytes
      Binary data of vectors.
docstr_tok: ["Pool","is","a","storage","of","vectors",".","You","can","create","it","from","row-major","binary","file","or","binary","data","of","vectors",".","Parameters","--","--","--","--","--","vectors_path",":","string","Path","to","binary","file","with","vectors",".","dtype",":","EVectorComponentType","Type","of","vectors",".","dimension",":","int","Dimension","of","vectors",".","vectors_bin_data",":","bytes","Binary","data","of","vectors","."]
code: def __init__(
      self, vectors_path, dtype, dimension, vectors_bin_data=None
  ):
      """
      Pool is a storage of vectors. You can create it from row-major binary file or
      binary data of vectors.
  
      Parameters
      ----------
      vectors_path : string
          Path to binary file with vectors.
  
      dtype : EVectorComponentType
          Type of vectors.
  
      dimension : int
          Dimension of vectors.
  
      vectors_bin_data : bytes
          Binary data of vectors.
      """
      self.vectors_path = vectors_path
      self.dtype = dtype
      self.dimension = dimension
      assert (vectors_bin_data is None) ^ (vectors_path is None)
      if vectors_path is not None:
          self._storage = _DenseVectorStorage[dtype](
              vectors_path, dimension
          )
          self._data = None
      if vectors_bin_data is not None:
          self._storage = _DenseVectorStorage[dtype](
              None, dimension, vectors_bin_data
          )
          self._data = vectors_bin_data
  
imports: import sys
  import os
  from six import iteritems
  from enum import IntEnum
  from contextlib import contextmanager
  import json
label_desc: Use image node_id 1 to create a new Pool object  with example: obj = Pool(vectors_path, dtype, dimension, vectors_bin_data)