code: def _export_files(self, outdir):
      with open("{}/nnp_version.txt".format(outdir), "w") as f:
          f.write("0.1\n")
      if self._parameter_type == "included":
          self._write_nntxt(
              "{}/network.nntxt".format(outdir), self._nnp
          )
      else:
          nnp_wo_parameter = nnabla_pb2.NNablaProtoBuf()
          nnp_wo_parameter.CopyFrom(self._nnp)
          nnp_wo_parameter.ClearField("parameter")
          self._write_nntxt(
              "{}/network.nntxt".format(outdir), nnp_wo_parameter
          )
  
          if self._parameter_type == "protobuf":
              nnp_parameter_only = nnabla_pb2.NNablaProtoBuf()
              for param in self._nnp.parameter:
                  parameter = nnp_parameter_only.parameter.add()
                  parameter.CopyFrom(param)
              self._write_protobuf(
                  "{}/parameter.protobuf".format(outdir),
                  nnp_parameter_only,
              )
          elif self._parameter_type == "h5":
              self._write_h5(
                  "{}/parameter.h5".format(outdir), self._nnp
              )
          elif self._parameter_type == "none":
              pass  # store without param.
          else:
              print(
                  "Unsupported parameter type `{}`.".format(
                      self._parameter_type
                  )
              )
  
file_path: nnabla/python/src/nnabla/utils/converter/nnabla/exporter.py
imports: import glob
  import os
  import shutil
  import tempfile
  import warnings
  import zipfile
  import google.protobuf.text_format
  import numpy
  from nnabla.utils import nnabla_pb2
  from nnabla.logger import logger
label_desc: Use image node_id 5 for calling the NnpExporter obj's underlying member method code with example usage: obj._export_files(outdir) without return types