class_docstr: Wrapper class for the basic BytePS API.
class_docstr_tok: ["Wrapper","class","for","the","basic","BytePS","API","."]
docstr: A function that inits BytePS.
docstr_tok: ["A","function","that","inits","BytePS","."]
code: def init(self, lazy=True):
      """A function that inits BytePS."""
      atexit.register(self.shutdown)
      if lazy:
          return self.C_LIB_CTYPES.byteps_lazy_init()
      else:
          return self.C_LIB_CTYPES.byteps_init()
  
file_path: byteps/byteps/common/__init__.py
imports: import ctypes
  import os
  import sysconfig
  import atexit
label_desc: Use image node_id 2 for calling the BytePSBasics obj's underlying member method code with example usage: obj.init(lazy) and returns: self, self