code: def execute(self):
      for p in self._nnp.protobuf.parameter:
          self._parameters[p.variable_name] = p
      networks = []
      for network in self._nnp.protobuf.network:
          rebuild = False
          for func in network.function:
              if func.type in self._resolve_table:
                  rebuild = True
                  break
  
          self._variables = OrderedDict()
          self._functions = []
          for v in network.variable:
              self._variables[v.name] = v
  
          if not rebuild:
              networks.append(network)
              for func in network.function:
                  for i in func.input:
                      if self._variables[i].type == "Parameter":
                          self._referred.add(i)
              continue
  
          for func in network.function:
              resolver = self._resolve_table.get(
                  func.type, self._default_resolver
              )
              resolver(network, func)
  
          network.ClearField("function")
          network.function.extend(self._functions)
          network.ClearField("variable")
          network.variable.extend(
              filter(
                  lambda x: x.name in self._referred,
                  self._variables.values(),
              )
          )
          networks.append(network)
  
      self._nnp.protobuf.ClearField("network")
      self._nnp.protobuf.network.extend(networks)
  
      self._nnp.protobuf.ClearField("parameter")
      self._nnp.protobuf.parameter.extend(
          filter(
              lambda x: x.variable_name in self._referred,
              self._parameters.values(),
          )
      )
      exe = self._nnp.protobuf.executor[0]
      exe.ClearField("parameter_variable")
      for name in self._parameters.keys():
          if name in self._referred:
              p = exe.parameter_variable.add()
              p.variable_name = name
  
      return self._nnp
  
file_path: nnabla/python/src/nnabla/utils/converter/nnablart/resolver.py
imports: from collections import OrderedDict
  import nnabla
  import nnabla.functions
  import numpy
  from nnabla.utils import nnabla_pb2
  from nnabla.utils.save_function import _create_function_nntxt
label_desc: Use image node_id 7 for calling the Resolver obj's underlying member method code with example usage: obj.execute() and returns: self