class_docstr: Class for building, loading and working with Hierarchical Navigable Small World index.
class_docstr_tok: ["Class","for","building",",","loading","and","working","with","Hierarchical","Navigable","Small","World","index","."]
docstr: Create object for working with HNSW.
docstr_tok: ["Create","object","for","working","with","HNSW","."]
code: def __init__(self):
      """
      Create object for working with HNSW.
      """
      self._index = None
      self._data = None
  
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 Hnsw object  with example: obj = Hnsw()