code: def _create_network(ctx, net, variable_batch_size):
      names = dict(net["names"])
      names.update(net["outputs"])
      g = nn.graph_def.create_graph_from_variable(
          net["name"],
          list(net["outputs"].values()),
          names=names,
          parameter_scope=nn.parameter.get_current_parameter_scope(),
      )
      n = g.default_graph().as_proto(
          variable_batch_size=variable_batch_size
      )
      n.batch_size = net["batch_size"]
      ctx.proto_graphs[n.name] = g
      return n
  
file_path: nnabla/python/src/nnabla/utils/save.py
imports: import os
  import re
  import types
  import nnabla
  import numpy
  from collections import OrderedDict
  from nnabla.logger import logger
  from nnabla.parameter import get_parameters
  from nnabla.utils import nnabla_pb2
  from nnabla.utils.get_file_handle import FileHandlerContext, get_default_file_savers, save_files
label_desc: Use image node_id 5 for calling a global function with example usage: _create_network(ctx, net, variable_batch_size) and returns: n