code: def test_nnp_load_parameter_scope(module):
      """This test tests whether equivalency between new or old implementation of nnp_graph"""
      _, inputs = module
      verbose = 1
      callback = nnp_graph.NnpNetworkPass(verbose)
  
      @callback.on_generate_function_by_name("Convolution")
      def change_convolution_param(f):
          print("{}".format(f.proto.convolution_param.pad.dim[:]))
          f.proto.convolution_param.pad.dim[:] = [1, 1]
          return f
  
      @callback.on_function_pass_by_type("Affine")
      def change_affine_param(f, variables, param_scope):
          param_name = f.inputs[1].proto.name
          input_shape = f.inputs[0].proto.shape.dim[:]
          w_shape = f.inputs[1].proto.shape.dim[:]
          rng = np.random.RandomState(388)
          with nn.parameter_scope("", param_scope):
              W = nn.Variable.from_numpy_array(
                  rng.randn(np.prod(input_shape[1:]), w_shape[1])
              )
              W.need_grad = True
              nn.parameter.set_parameter(param_name, W)
  
      ref_params = {}
      with get_saved_test_model(module) as nnp_file:
          nnp = legacy_nnp_graph.NnpLoader(nnp_file)
          for network_name in sorted(nnp.get_network_names()):
              network = nnp.get_network(
                  network_name, batch_size=32, callback=callback
              )
              ref_params[network_name] = nn.get_parameters().copy()
          nn.clear_parameters()
  
          params = {}
          nnp = nnp_graph.NnpLoader(nnp_file)
          assert_parameter_scope_empty()
          for network_name in sorted(nnp.get_network_names()):
              network = nnp.get_network(
                  network_name, batch_size=32, callback=callback
              )
              params[network_name] = nn.get_parameters()
  
      assert_parameters_equal(ref_params, params)
  
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  import nnabla.parametric_functions
  from nnabla.testing import assert_allclose
  from helper import get_saved_test_model, forward_variable_and_check_equal, forward_variable, assert_topology, dump_network_topology
  import legacy_nnp_graph
  from nnabla.utils import nnp_graph
label_desc: Use image node_id 14 for calling a global function with example usage: test_nnp_load_parameter_scope(module) and returns: f