code: def __init__(
      self,
      nnp,
      batch_size,
      nnb_version=NN_BINARY_FORMAT_VERSION,
      api_level=-1,
  ):
      nnp = Resolver(nnp).execute()
      self._info = create_nnabart_info(nnp, batch_size)
      self._api_level_info = nnabla.utils.converter.get_api_level_info()
      self._nnb_version = nnb_version
      preprocess_for_exporter(self._info, "NNB")
  
      self._List = collections.namedtuple(
          "List", ("size", "list_index")
      )
  
      self._memory_index = []
      self._memory_data = b""
      self._api_level_info.set_api_level(api_level)
  
file_path: nnabla/python/src/nnabla/utils/converter/nnablart/nnb.py
imports: import collections
  import math
  import struct
  import nnabla.utils.converter
  import numpy
  import yaml
  from .resolver import Resolver
  from .utils import create_nnabart_info
  from .utils import preprocess_for_exporter
  from .utils import revise_buffer_size
label_desc: Use image node_id 3 to create a new NnbExporter object  with example: obj = NnbExporter(nnp, batch_size, nnb_version, api_level)